davidferguson / pibakery

The blocks based, easy to use setup tool for Raspberry Pi
http://www.PiBakery.org
GNU General Public License v3.0
1.49k stars 147 forks source link

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

Open BearChavez opened 6 years ago

BearChavez commented 6 years ago

PiBakery@0.3.8 start /home/bear/Desktop/pibakery electron .

sh: 1: electron: not found

npm ERR! PiBakery@0.3.8 start: electron . npm ERR! Exit status 127 npm ERR! npm ERR! Failed at the PiBakery@0.3.8 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

davidferguson commented 6 years ago

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.

BearChavez commented 6 years ago

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

npm WARN package.json PiBakery@0.3.8 No repository field. npm WARN deprecated electron-prebuilt@1.4.13: 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 elevator@1.0.0 npm WARN optional dep failed, continuing removedrive@1.1.2 npm ERR! fetch failed https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz npm WARN optional dep failed, continuing diskpart@1.0.2 npm ERR! fetch failed https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz npm WARN optional dep failed, continuing macmount@1.0.0

electron-prebuilt@1.4.13 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