question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

local build faild

See original GitHub issue

Describe 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 粘贴或截屏帮助->切换开发者工具->控制台中的内容

image

Environment (Help->About) Paste the content in Help->About windows 10 和 wsl 都尝试了都是这个错误。

node 版本 v14.4.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
YXL76commented, Mar 29, 2021

感谢

0reactions
yihong0618commented, Mar 29, 2021

Sponsor 了一下。感谢作者的优雅方案~ 考虑用在我的一个 vscode 玩具上~

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found