Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: writeFileDelegate is not a function #1019

Open
samccone opened this issue May 26, 2019 · 0 comments
Open

TypeError: writeFileDelegate is not a function #1019

samccone opened this issue May 26, 2019 · 0 comments

Comments

@samccone
Copy link

REPO checkout:
samccone/fried-twinkie#11

yarn install
yarn test

Stack:

/usr/local/google/home/samccone/Desktop/repos/src/tsickle.ts:153
        writeFileDelegate(fileName, content, writeByteOrderMark, onError, sourceFiles);
        ^
TypeError: writeFileDelegate is not a function
    at Object.writeFileImpl [as writeFile] (/usr/local/google/home/samccone/Desktop/repos/src/tsickle.ts:153:9)
    at Object.writeFile (/usr/local/google/home/samccone/Desktop/repos/fried-twinkie/node_modules/typescript/lib/typescript.js:11571:14)
    at printSourceFileOrBundle (/usr/local/google/home/samccone/Desktop/repos/fried-twinkie/node_modules/typescript/lib/typescript.js:83298:16)
    at emitJsFileOrBundle (/usr/local/google/home/samccone/Desktop/repos/fried-twinkie/node_modules/typescript/lib/typescript.js:83183:13)
    at emitSourceFileOrBundle (/usr/local/google/home/samccone/Desktop/repos/fried-twinkie/node_modules/typescript/lib/typescript.js:83115:13)
    at forEachEmittedFile (/usr/local/google/home/samccone/Desktop/repos/fried-twinkie/node_modules/typescript/lib/typescript.js:82907:34)
    at Object.emitFiles (/usr/local/google/home/samccone/Desktop/repos/fried-twinkie/node_modules/typescript/lib/typescript.js:83098:9)
    at emitWorker (/usr/local/google/home/samccone/Desktop/repos/fried-twinkie/node_modules/typescript/lib/typescript.js:89019:33)
    at /usr/local/google/home/samccone/Desktop/repos/fried-twinkie/node_modules/typescript/lib/typescript.js:88979:66
    at runWithCancellationToken (/usr/local/google/home/samccone/Desktop/repos/fried-twinkie/node_modules/typescript/lib/typescript.js:89070:24)
    at Object.emit (/usr/local/google/home/samccone/Desktop/repos/fried-twinkie/node_modules/typescript/lib/typescript.js:88979:20)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant