local build faild
See original GitHub issueDescribe the bug
A clear and concise description of what the bug is.
我想本地 build 一份测试,如果我安装了 cloudmusic
是能 build 成功的 (我是在 vscode 里按 f5 build)
但如果我把插件卸载了,再 build 会报错(同样按f5)
错误信息
Activating extension 'YXL.cloudmusic' failed: Can not find module '/root/cloudmusic-vscode/build/linux.node'
Require stack:
- /root/cloudmusic-vscode/dist/extension.js
- /root/.vscode-server/bin/2b9aebd5354a3629c3aba0a5f5df49f43d6689f8/out/vs/loader.js
- /root/.vscode-server/bin/2b9aebd5354a3629c3aba0a5f5df49f43d6689f8/out/bootstrap-amd.js
- /root/.vscode-server/bin/2b9aebd5354a3629c3aba0a5f5df49f43d6689f8/out/bootstrap-fork.js.
Error information (Help->Toggle Developer Tools->Console)
Paste or screenshot the content in Help->Toggle Developer Tools->Console
粘贴或截屏帮助->切换开发者工具->控制台
中的内容
Environment (Help->About)
Paste the content in Help->About
windows 10 和 wsl 都尝试了都是这个错误。
node 版本 v14.4.0
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Failed Builds - Visual Studio App Center - Microsoft Learn
If building works locally but not in App Center · Open your terminal or command-line prompt then type in: mkdir appcenter-test · Then...
Read more >Build fail on render, success on local
The build command is “yarn build”. I can build successfully on my local machine, but it fails on render. What should i do?...
Read more >Build troubleshooting tips - Netlify Docs
In case your build fails on Netlify, first make sure it builds locally in your own development environment. This is a prerequisite to...
Read more >Common Build Problems - Travis CI Docs
My build fails unexpectedly # One possible cause for builds failing unexpectedly can be calling set -e (also known as set errexit ),...
Read more >My build failed. What's wrong with my change? | Saros
In case the build has failed it can be difficult to find the error in the ant log. The easiest is to search...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
感谢
Sponsor 了一下。感谢作者的优雅方案~ 考虑用在我的一个 vscode 玩具上~