Skip to content

Cannot Build #11870

Closed
Closed

Description

@mavericken

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

  1. mhegazy commented on Oct 26, 2016

    @mhegazy
    Contributor

    noticed that today. seems to be caused by #11743. looking.

  2. added a commit that references this issue on Oct 26, 2016
  3. mavericken commented on Oct 27, 2016

    @mavericken
    Author

    The changes you made to ts-node are already available in NPM. I was able to build after refreshing the NPM packages. Thanks!

  4. locked and limited conversation to collaborators on Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions