Comments (11)
Seems like a problem with electron-builder. Reference: electron-builder/issues/1651
Updating electron and electron-builder dependencies solves the problem
from stacer.
same pb here with fedora 26
[sheepdestroyer@sheepora-X220 Stacer] $ npm install && npm run build && npm start
> [email protected] install /home/sheepdestroyer/temp/Stacer/node_modules/electron-builder-util/node_modules/fcopy-pre-bundled
> node-gyp rebuild
gyp: binding.gyp not found (cwd: /home/sheepdestroyer/temp/Stacer/node_modules/electron-builder-util/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.bundled/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.11.8-300.fc26.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/sheepdestroyer/temp/Stacer/node_modules/electron-builder-util/node_modules/fcopy-pre-bundled
gyp ERR! node -v v6.11.0
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
[email protected] /home/sheepdestroyer/temp/Stacer
└── (empty)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","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 [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
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 [email protected]: wanted {"os":"win32","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! Linux 4.11.8-300.fc26.x86_64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v6.11.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] 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! /home/sheepdestroyer/temp/Stacer/npm-debug.log
npm ERR! code 1
from stacer.
On Ubuntu 16.04.2 - None of the above steps for npm resolved the issue.
The above comment #70 (comment) links to an issue Cannot install fcopy-pre-bundled in electron-builder, where there's a suggestion to swap npm for yarn, which resolved this issue on Ubuntu 16.04.2.
Steps:
Install yarn: https://yarnpkg.com/lang/en/docs/install/
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
Now, instead of the npm install && npm run build && npm start
command, run yarn && npm start
from stacer.
Hi,
What is the mistake you get.?
from stacer.
is correctly what is the worry ?
from stacer.
The error is :
gyp: binding.gyp not found (cwd: /home/user/Stacer/node_modules/fcopy-pre-bundled) while trying to load binding.gyp
from stacer.
What is your operating system and release ?
from stacer.
Linux Mint 18.1 with 4.10.0-22-generic kernel
from stacer.
For me wich commit 216 is the same is not work on manjaro or Solus or Ubuntu
from stacer.
I have done some wholesale testing it is a version problem for me
from stacer.
@sheepdestroyer Updating node to version 8+ and adding build essential solved the issue for me.
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install -y build-essential
Also ty deleting node_modules/ and reinstalling again . For a few others restarting the maching solved the issue.
from stacer.
Related Issues (20)
- stacer dump HOT 7
- cannot start stacer HOT 3
- Stacer suddenly claims there's an update available when there is not HOT 2
- Failed to execute child process "stacer" no such files or direcotry. HOT 7
- display menu size ubuntu 22.04 HOT 2
- Can not add PPA HOT 2
- stacer wont launch on hyprland
- Theming Options in v1.1.0? HOT 6
- no services found HOT 1
- Memory usage is not reading the value from the kernel, therefore it's not correct HOT 1
- is this maintaind ? HOT 4
- Feature Request: Hardware tab
- Please Continue the Project HOT 4
- Back process
- Can't stop Stacer 1.1.0 from autostarting, KDE neon 5.27
- Error appears when saving feedback in Stacer arr HOT 1
- Critical: Memory Info Calculation Error due to Interchanged Variable Names
- The Services widget displays the upper half of the text of each entry. HOT 1
- Who will fork it? Please. HOT 1
- A Release File Missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stacer.