The Wayback Machine - https://web.archive.org/web/20200911113417/https://github.com/deepthan/blog-angular/issues/40
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

报错处理之 -- 关于找不到 require或者module #40

Open
deepthan opened this issue Feb 26, 2018 · 0 comments
Open

报错处理之 -- 关于找不到 require或者module #40

deepthan opened this issue Feb 26, 2018 · 0 comments

Comments

@deepthan
Copy link
Owner

@deepthan deepthan commented Feb 26, 2018

首先

npm i @types/node --global

再在 tsconfig.json文件中加上

{ "compilerOptions": { ..., "types": ["node"] } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.