Skip to content
New issue

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

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

Already on GitHub? # to your account

Compile failed #31

Closed
jixuan1989 opened this issue Jan 2, 2020 · 2 comments
Closed

Compile failed #31

jixuan1989 opened this issue Jan 2, 2020 · 2 comments

Comments

@jixuan1989
Copy link
Contributor

Hi, I installed ts-node and typescript, then I run ts-node src/main and occurs an error:

MacBook-Pro-3:oss-bot hxd$ ts-node src/main

/usr/local/lib/node_modules/ts-node/src/index.ts:293
    return new TSError(diagnosticText, diagnosticCodes)
           ^
TSError: ⨯ Unable to compile TypeScript:
error TS6053: File '@chatie/tsconfig' not found.

    at createTSError (/usr/local/lib/node_modules/ts-node/src/index.ts:293:12)
    at reportTSError (/usr/local/lib/node_modules/ts-node/src/index.ts:297:19)
    at create (/usr/local/lib/node_modules/ts-node/src/index.ts:308:36)
    at Object.register (/usr/local/lib/node_modules/ts-node/src/index.ts:227:19)
    at main (/usr/local/lib/node_modules/ts-node/src/bin.ts:150:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/ts-node/src/bin.ts:470:3)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:643:32)
    at Function.Module._load (internal/modules/cjs/loader.js:556:12)

ts-node version is v8.5.4

@huan
Copy link
Collaborator

huan commented Jan 2, 2020

please run npm install first to install all the dependencies before you started.

@jixuan1989
Copy link
Contributor Author

I see. thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants