vscode-nix script cannot find the other executables
See original GitHub issuePreflight Checklist
- I have read the contribution documentation for this project.
- I agree to follow the code of conduct that this project follows, as appropriate.
- I have searched the issue tracker for a bug that matches the one I want to file, without success.
- I did find https://github.com/electron-userland/electron-forge/issues/535, the closing PR for this issue introduced the problem I’m experiencing.
Issue Details
- Electron Forge Version:
- 6.0.0-beta.47
- Electron Version:
- v7.1.7
- Operating System:
- macOS 10.15.2
Expected Behavior
Using the launch configuration from https://www.electronforge.io/advanced/debugging in VS Code enables debugging for the new application.
Actual Behavior
The launch configuration errors with:
/Users/liamdawson/w/orcharduml/node_modules/.bin/electron-forge-vscode-nix --inspect-brk=35706
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '/Users/liamdawson/w/@electron-forge/cli/dist/electron-forge-start'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)
To Reproduce
yarn
v1.21.1npm
v6.13.4node
v10.16.3
Additional Information
I’m guessing it’s related to something about package nesting and/or symlinks?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:9
Top Results From Across the Web
vscode-nix script cannot find the other executables · Issue #1369
I have searched the issue tracker for a bug that matches the one I want to file, without success. I did find Cannot...
Read more >Developers - vscode-nix script cannot find the other executables -
Coming soon: A brand new website interface for an even better experience!
Read more >Command line options to executable in a VSCode extension
I tried to give command line arguments to the executable using the ... With this one, I get an unknown option error from...
Read more >Running Visual Studio Code on Linux
Get Visual Studio Code up and running on Linux. ... Note that other binaries are also available on the VS Code download page....
Read more >How to Fix Cannot Find Script File in Windows 10 [Tutorial]
How to Fix Cannot Find Script File in Windows 10 [Tutorial]Registry Value: C:\Windows\system32\userinit. exe,A Windows Script Host error can ...
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 FreeTop 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
Top GitHub Comments
to fix it the
electron-forge-vscode-nix
file must be change fromto
This is still an issue as of electron-forge @ 6.0.0-beta.61
Currently, patching this manually. Kinda brutal. Lets fix?