Coder Social home page Coder Social logo

How to install from source code ? about stacer HOT 11 CLOSED

 avatar commented on May 18, 2024
How to install from source code ?

from stacer.

Comments (11)

psukys avatar psukys commented on May 18, 2024 2

Seems like a problem with electron-builder. Reference: electron-builder/issues/1651
Updating electron and electron-builder dependencies solves the problem

from stacer.

sheepdestroyer avatar sheepdestroyer commented on May 18, 2024 1

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.

joeykrim avatar joeykrim commented on May 18, 2024 1

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.

oguzhaninan avatar oguzhaninan commented on May 18, 2024

Hi,
What is the mistake you get.?

from stacer.

liberodark avatar liberodark commented on May 18, 2024

is correctly what is the worry ?

from stacer.

 avatar commented on May 18, 2024

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.

oguzhaninan avatar oguzhaninan commented on May 18, 2024

What is your operating system and release ?

from stacer.

 avatar commented on May 18, 2024

Linux Mint 18.1 with 4.10.0-22-generic kernel

from stacer.

liberodark avatar liberodark commented on May 18, 2024

For me wich commit 216 is the same is not work on manjaro or Solus or Ubuntu

from stacer.

liberodark avatar liberodark commented on May 18, 2024

I have done some wholesale testing it is a version problem for me

from stacer.

mnsekh111 avatar mnsekh111 commented on May 18, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.