Cannot install fcopy-pre-bundled
See original GitHub issue- Version: 18.8.1 but issue starts with 18.7.0
- Target: Ubuntu 14.04
Since version 18.7.0, when installing electron-builder
with npm
, I get an error with fcopy-pre-bundled
:
> fcopy-pre-bundled@0.1.2 install /testproject/node_modules/fcopy-pre-bundled
> node-gyp rebuild
gyp: binding.gyp not found (cwd: /testproject/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 (/usr/lib/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 Linux 4.4.0-79-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /testproject/node_modules/fcopy-pre-bundled
gyp ERR! node -v v6.11.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-win@^2.1.0 (node_modules/7zip-bin/node_modules/7zip-bin-win):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-win@2.1.0: wanted {"os":"win32","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 7zip-bin-mac@^1.0.1 (node_modules/7zip-bin/node_modules/7zip-bin-mac):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for 7zip-bin-mac@1.0.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN enoent ENOENT: no such file or directory, open '/testproject/package.json'
npm WARN toto No description
npm WARN toto No repository field.
npm WARN toto No README data
npm WARN toto No license field.
npm ERR! Linux 4.4.0-79-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "--save" "electron-builder"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! fcopy-pre-bundled@0.1.2 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fcopy-pre-bundled@0.1.2 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the fcopy-pre-bundled package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs fcopy-pre-bundled
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls fcopy-pre-bundled
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /testproject/npm-debug.log
node version: v6.11.0 npm version: 3.10.10
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:15 (8 by maintainers)
Top Results From Across the Web
npm install on windows fails due to fcopy-pre-bundled #1662
Version: 18.8.0 Target: windows when installing the latest version on windows it fails with the following error. tested with 18.5.1 that ...
Read more >The nideshop-admin from tumobi - Coder Social
fcopy-pre-bundled@0.3.4 install C:\Users\Tiger\Desktop\nideshop\nideshop-admin\node_modules\fcopy-pre-bundled ... This is probably not a problem with npm.
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 Free
Top 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
@espring Please stop wasting your time. Get rid of NPM and consider to use Yarn.
I cannot test right now but as mentioned in the issue I’m using the LTS version of node: node version: v6.11.0 npm version: 3.10.10