You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that ${workspaceFolder}/node_modules/.bin/electron-forge-vscode-nix is a symlink to ${workspaceFolder}/node_modules/@electron-forge/cli/script/vscode.sh and it tries to determine the project directory by referencing it relative to it's own path. Thus, the symlink and the original script will run electron-forge-start in different working directories.
Replacing the above line with the following will work:
Frankly, I don't know whether to post this issue on forge or electron-forge-docs, but there's a misunderstanding in both repos.
The instructions for Debugging with VS Code will not work because of the way
electron-forge-vscode-nix
works.The issue is with the following line:
The problem is that
${workspaceFolder}/node_modules/.bin/electron-forge-vscode-nix
is a symlink to${workspaceFolder}/node_modules/@electron-forge/cli/script/vscode.sh
and it tries to determine the project directory by referencing it relative to it's own path. Thus, the symlink and the original script will runelectron-forge-start
in different working directories.Replacing the above line with the following will work:
I'm not sure if the Windows version of this option has this issue.
The text was updated successfully, but these errors were encountered: