我jsconfig.json
在我的根目录中使用Nuxt.js
项目。我有一个错误:
File '/home/mike/Documents/nuxt/node_modules/dotenv/types' not found.
The file is in the program because:
Root file specified for compilation
我什至没有使用typescript
,也没有typescript
在创建时设置任何选项Nuxt.js project
jsconfig.json
内容:
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"~/*": ["./*"],
"@/*": ["./*"],
"~~/*": ["./*"],
"@@/*": ["./*"]
}
},
"exclude": ["node_modules", ".nuxt", "dist"]
}
我不明白他们是从哪里来的。我该如何摆脱这个错误?没有选择quick fix
所以我不能ignore errors for entire file