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
After adding an “electron-edge-js” dependency to the project, an exception was triggered with the following information:
› Error: Could not find any Visual Studio installation to use
at VisualStudioFinder.fail (E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:122:47)
at E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:75:16
at VisualStudioFinder.findVisualStudio2013 (E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:380:14)
at E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:71:14
at VisualStudioFinder.findVisualStudio2015 (E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:364:14)
at E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:67:12
at failPowershell (E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:156:7)
at VisualStudioFinder.parseData (E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:170:14)
at E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:143:14
at ChildProcess.exithandler (node:child_process:414:7)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
An unhandled rejection has occurred inside Forge:
Error: node-gyp failed to rebuild 'E:\test\electron-edge-js-quick-start\node_modules\electron-edge-js'
at ChildProcess. (E:\test\electron-edge-js-quick-start\node_modules@electron\rebuild\lib\module-type\node-gyp\node-gyp.js:118:24)
at ChildProcess.emit (node:events:518:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
Pre-flight checklist
Electron Forge version
7.4.0
Electron version
31.0.2
Operating system
Windows 11(22631.3447)
Last known working Electron Forge version
No response
Expected behavior
"npmrun start" can start normally
Actual behavior
step1: npm init electron-app@latest my-app
step2: npm install electron-edge-js
step3:npm run start
After adding an “electron-edge-js” dependency to the project, an exception was triggered with the following information:
› Error: Could not find any Visual Studio installation to use
at VisualStudioFinder.fail (E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:122:47)
at E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:75:16
at VisualStudioFinder.findVisualStudio2013 (E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:380:14)
at E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:71:14
at VisualStudioFinder.findVisualStudio2015 (E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:364:14)
at E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:67:12
at failPowershell (E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:156:7)
at VisualStudioFinder.parseData (E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:170:14)
at E:\test\electron-edge-js-quick-start\node_modules\node-gyp\lib\find-visualstudio.js:143:14
at ChildProcess.exithandler (node:child_process:414:7)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1105:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5)
An unhandled rejection has occurred inside Forge:
Error: node-gyp failed to rebuild 'E:\test\electron-edge-js-quick-start\node_modules\electron-edge-js'
at ChildProcess. (E:\test\electron-edge-js-quick-start\node_modules@electron\rebuild\lib\module-type\node-gyp\node-gyp.js:118:24)
at ChildProcess.emit (node:events:518:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12)
Steps to reproduce
step1: npm init electron-app@latest my-app
step2: npm install electron-edge-js
step3:npm run start
Additional information
No response
The text was updated successfully, but these errors were encountered: