mozilla / id.webmaker.org

OAuth 2.0 identity provider for Webmaker
https://id.webmaker.org
Mozilla Public License 2.0
18 stars 51 forks source link

Unable to install id.webmaker.org: sh 1: npm-run-all: not found #412

Closed dcforeman closed 8 years ago

dcforeman commented 8 years ago

Hi I'm unable to install and run id.webmaker.org

The instructions I have used are as follows:

Install NodeJS

cd ~
sudo curl -sL https://deb.nodesource.com/setup_4.x | sudo bash -
sudo apt-get install -y nodejs
sudo npm install -g grunt
sudo npm install -g grunt-cli
nodejs --version 
    should return v4.3.0
grunt --version
    should return v0.1.13
sudo apt-get install -y git

Install id.webmaker.org

cd ~
sudo git clone https://github.com/dcforeman/id.webmaker.org --recursive
cd id.webmaker.org
sudo cp sample.env .env
_sudo npm install -- fails_
_sudo npm start -- fails_

fails details

root@Thimble:~/id.webmaker.org# sudo npm install
npm WARN deprecated react-tools@0.13.3: react-tools is deprecated. For more information, visit https://fb.me/react-tools-deprecated
npm WARN deprecated npmconf@0.0.24: this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN peerDependencies The peer dependency babel-core@^5.0.0 included from babel-loader will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
npm WARN deprecated graceful-fs@2.0.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
|
> phantomjs@1.9.7-14 install /root/id.webmaker.org/node_modules/phantomjs
> node install.js

_root@Thimble:~/id.webmaker.org# sudo npm start_

> id.webmaker.org@1.0.0 start /root/id.webmaker.org
> npm-run-all --parallel server watch:css watch:js

sh: 1: npm-run-all: not found

npm ERR! Linux 3.13.0-71-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! node v4.3.0
npm ERR! npm  v2.14.12
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! id.webmaker.org@1.0.0 start: `npm-run-all --parallel server watch:css watch:js `
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the id.webmaker.org@1.0.0 start script 'npm-run-all --parallel server watch:css watch:js '.
npm ERR! This is most likely a problem with the id.webmaker.org package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     npm-run-all --parallel server watch:css watch:js
npm ERR! You can get their info via:
npm ERR!     npm owner ls id.webmaker.org
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /root/id.webmaker.org/npm-debug.log
root@Thimble:~/id.webmaker.org#
Pomax commented 8 years ago

I can't reproduce this anymore.

pakTech786 commented 7 years ago

could you able to resolve this as i am also facing this issue

Pomax commented 7 years ago

@nailaandleeb You should not be installing id.webmaker.org manually or in isolation. What are you working on that requires this service? If you're working on thimble, please follow its instructions instead, as that uses a container solution that includes automatic installation of id.webmaker.org