We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我按照README.md的指示成功运行项目。 因为该项目使用了别名,但是没有添加jsconfig.json文件。 所以我就自己在项目中添加了jsconfig.json文件。 结果虽然别名引用跳转能够正常工作,但是在 vscode 下方面板的问题选项卡中显示
README.md
jsconfig.json
找不到文件“/Users/huang/Desktop/taro-test/taro-yanxuan/node_modules/mobile-detect/mobile-detect”。
我只添加了jsconfig.json文件
{ "exclude": ["node_modules/"], "target": "es6", "checkJs": true, "allowSyntheticDefaultImports": true, "compilerOptions": { "baseUrl": ".", "paths": { "@actions/*": ["./src/actions/*"], "@assets/*": ["./src/assets/*"], "@components/*": ["./src/components/*"], "@constants/*": ["./src/constants/*"], "@reducers/*": ["./src/reducers/*"], "@styles/*": ["./src/styles/*"], "@utils/*": ["./src/utils/*"] } } }
{ "resource": "/Users/huang/Desktop/taro-test/taro-yanxuan/jsconfig.json", "owner": "typescript", "severity": 8, "message": "找不到文件“/Users/huang/Desktop/taro-test/taro-yanxuan/node_modules/mobile-detect/mobile-detect”。", "source": "ts", "startLineNumber": 1, "startColumn": 1, "endLineNumber": 1, "endColumn": 2 }
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
same question...
这样可以解决这个问题
No branches or pull requests
概述
我按照
README.md
的指示成功运行项目。因为该项目使用了别名,但是没有添加
jsconfig.json
文件。所以我就自己在项目中添加了
jsconfig.json
文件。结果虽然别名引用跳转能够正常工作,但是在 vscode 下方面板的问题选项卡中显示
详细
目录结构
我只添加了
jsconfig.json
文件jsconfig.json
代码VS code 提示错误消息提示
The text was updated successfully, but these errors were encountered: