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

Cannot find namespace 'NodeJS' #15

Open
MonveChen opened this issue May 7, 2022 · 3 comments
Open

Cannot find namespace 'NodeJS' #15

MonveChen opened this issue May 7, 2022 · 3 comments

Comments

@MonveChen
Copy link

image

geekact added a commit that referenced this issue May 7, 2022
@geekact
Copy link
Member

geekact commented May 7, 2022

升级到 foca@0.11.3 去掉了NodeJS。

@MonveChen
Copy link
Author

升级到 foca@0.11.3 去掉了NodeJS。

nice

@geekact
Copy link
Member

geekact commented May 7, 2022

还有另外两种解决方案:

  1. 安装 @types/node

  2. 配置tsconfig.json

{
  "compilerOptions": {
-   "skipLibCheck": false
+   "skipLibCheck": true
  }
}

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

No branches or pull requests

2 participants