You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to build the TypeScript compiler following the instructions in the readme, but I got an error. I tried on Windows 10 and Ubuntu 16.04 and got the same error on both. It is my first time trying to build it, and I'm not sure if it is a problem with the instructions, a problem with me, or a problem with the current code.
rick@tg:~/code/TypeScript$ sudo npm install
rick@tg:~/code/TypeScript$ gulp local
[17:16:08] Requiring external module ts-node/register
/home/rick/code/TypeScript/node_modules/ts-node/dist/index.js:84
throw new TSError(formatDiagnostics(configDiagnostics, cwd, ts, 0));
^
TSError: ⨯ Unable to compile TypeScript
The 'files' list in config file 'tsconfig.json' is empty. (18002)
rick@tg:~/code/TypeScript$ npm --version
3.10.8
rick@tg:~/code/TypeScript$ gulp --version
[17:17:03] Requiring external module ts-node/register
[17:17:03] CLI version 3.9.1
[17:17:03] Local version 3.9.1
rick@tg:~/code/TypeScript$ node --version
v6.8.1
Activity
mhegazy commentedon Oct 26, 2016
noticed that today. seems to be caused by #11743. looking.
Fix microsoft/TypeScript#11870: Do not fail on empty file list diagno…
Do not fail on empty file list diagnostic messages (#226)
mavericken commentedon Oct 27, 2016
The changes you made to ts-node are already available in NPM. I was able to build after refreshing the NPM packages. Thanks!
Do not fail on empty file list diagnostic messages (#226)