martinmicunda / ionic-photo-gallery

A hybrid app with authentication that allows registered users view a gallery of photos they have uploaded via the camera phone.
MIT License
174 stars 76 forks source link

ionic serve -s -c --lab Error #4

Open hiniesta opened 9 years ago

hiniesta commented 9 years ago

Hello. First at all, congratulations for your work.

When I try to run npm start into ionic folder I get:

ionic-photo-gallery-ionic@0.0.0 start /home/vagrant/ionic-photo-gallery/ionic ionic serve -s -c --lab sh: 1: ionic: not found npm ERR! ionic-photo-gallery-ionic@0.0.0 start: ionic serve -s -c --lab npm ERR! Exit status 127 npm ERR! npm ERR! Failed at the ionic-photo-gallery-ionic@0.0.0 start script. npm ERR! This is most likely a problem with the ionic-photo-gallery-ionic package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! ionic serve -s -c --lab npm ERR! You can get their info via: npm ERR! npm owner ls ionic-photo-gallery-ionic npm ERR! There is likely additional logging output above. npm ERR! System Linux 3.13.0-55-generic npm ERR! command "/usr/bin/node" "/usr/bin/npm" "start" npm ERR! cwd /home/vagrant/ionic-photo-gallery/ionic npm ERR! node -v v0.10.40 npm ERR! npm -v 1.4.28 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/vagrant/ionic-photo-gallery/ionic/npm-debug.log npm ERR! not ok code 0

martinmicunda commented 9 years ago

@hiniesta i think the reason is that ionic is not install globally on your machine