Metadata emit requires the sourceFiles are passed to WriteFileCallback. Update to TypeScript


#1

Use case: ionic build android
Error thrown after linting is finished:

Error: Metadata emit requires the sourceFiles are passed to WriteFileCallback. Update to TypeScript
^1.9.0-dev
ngc failed
ionic-app-script task: "build"
Error: Error

npm ERR! Darwin 16.0.0
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “run” "build"
npm ERR! node v6.9.1
npm ERR! npm v4.0.2
npm ERR! code ELIFECYCLE
npm ERR! ionic-conference-app@ build: ionic-app-scripts build


#2

Well, what TypeScript version are you using?


#3

TSC version: 2.0.10. It’s working good with blank tutorial.


#4

I don’t see that version listed here.


#5

2.0.10 is strange since it isn’t released yet. It’s only marked as a tag on github… Maybe you should try to downgrade tsc to 2.0.8.