pibakery icon indicating copy to clipboard operation
pibakery copied to clipboard

This build error occurs from a fresh source download - posted March 27

Open BearChavez opened this issue 6 years ago • 2 comments

[email protected] start /home/bear/Desktop/pibakery electron .

sh: 1: electron: not found

npm ERR! [email protected] start: electron . npm ERR! Exit status 127 npm ERR! npm ERR! Failed at the [email protected] start script. npm ERR! This is most likely a problem with the PiBakery package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! electron . npm ERR! You can get their info via: npm ERR! npm owner ls PiBakery npm ERR! There is likely additional logging output above. npm ERR! System Linux 4.14.0-parrot13-686-pae npm ERR! command "/usr/bin/node" "/usr/bin/npm" "start" npm ERR! cwd /home/bear/Desktop/pibakery npm ERR! node -v v8.9.3 npm ERR! npm -v 1.4.21 npm ERR! code ELIFECYCLE npm WARN This failure might be due to the use of legacy binary "node" npm WARN For further explanations, please read /usr/share/doc/nodejs/README.Debian

npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/bear/Desktop/pibakery/npm-debug.log npm ERR! not ok code 0

I will post the debug log if needed

BearChavez avatar Mar 21 '18 11:03 BearChavez

Did you follow the instructions listed at https://github.com/davidferguson/pibakery#installing-from-source?

From the output you've posted it looks like you haven't run npm install, as that should install electron, which is why it isn't running at the moment.

davidferguson avatar Mar 21 '18 11:03 davidferguson

@davidferguson I ran install again and got this. I did a clean clone again

npm WARN package.json [email protected] No repository field. npm WARN deprecated [email protected]: electron-prebuilt has been renamed to electron. For more details, see http://electron.atom.io/blog/2016/08/16/npm-install-electron npm WARN optional dep failed, continuing [email protected] npm WARN optional dep failed, continuing [email protected] npm ERR! fetch failed https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz npm WARN optional dep failed, continuing [email protected] npm ERR! fetch failed https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz npm WARN optional dep failed, continuing [email protected]

[email protected] postinstall /home/bear/Desktop/pibakery/node_modules/electron-prebuilt node install.js

npm ERR! 404 Not Found npm ERR! 404 npm ERR! 404 'sindresorhus/is' is not in the npm registry. npm ERR! 404 You should bug the author to publish it npm ERR! 404 It was specified as a dependency of 'got' npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, or http url, or git url.

npm ERR! System Linux 4.14.0-parrot13-686-pae npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" npm ERR! cwd /home/bear/Desktop/pibakery npm ERR! node -v v8.9.3 npm ERR! npm -v 1.4.21 npm ERR! code E404 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/bear/Desktop/pibakery/npm-debug.log npm ERR! not ok code 0

BearChavez avatar Mar 21 '18 12:03 BearChavez