Closed orlandodemauro closed 6 years ago
Thanks for reporting, I will upgrade to the latest Electron and Electron-Builder in the next release.
Hi Orlando, I had similar issues on my machine (same os and npm version).
After some tries, I solved them simply upgrading npm.
Please, try to update your npm to latest (or at least 5.x)
You can do that easily with the following command: npm install -g npm
It should be enough ;)
Emanuele
This should be fixed now.
Note: for support questions, please use one of these channels: Chat: AngularClass.slack or Twitter: @AngularClass
I'm submitting a ... [x] bug report [ ] feature request [ ] question about the decisions made in the repository
Do you want to request a feature or report a bug?
Report a bug.
Running npm istall is generating an error
hi first of all compliment for your work. I´m trying to run in and after run npm install I´m getting the following error:
C:\git\angular-electron-dream-starter\node_modules\fcopy-pre-bundled>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild ) gyp: binding.gyp not found (cwd: C:\git\angular-electron-dream-starter\node_modules\fcopy-pre-bundled) while trying to load binding.gyp gyp ERR! configure error gyp ERR! stack Error:
gyp
failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:305:16) gyp ERR! stack at emitTwo (events.js:106:13) gyp ERR! stack at ChildProcess.emit (events.js:191:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12) gyp ERR! System Windows_NT 10.0.14393 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd C:\git\angular-electron-dream-starter\node_modules\fcopy-pre-bundled gyp ERR! node -v v6.11.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok angular-electron-dream-starter@6.1.1 C:\git\angular-electron-dream-starter `-- UNMET PEER DEPENDENCY chai@4.1.0I fixed it upgrating electron-builder to 19.2.5.
window 10, node 6.11.0 and npm 3.10.10