planetoftheweb/expressjs

Unable to run npm start

Angekap opened this issue · 2 comments

Hi,

I've just started your course on Lynda, and as I was setting up the environment, I got stuck after cloning the repo.
Unfortunately I am unable to run npm start!
I followed all the instructions to the letter, but no success.
Here is the error I am having:

npm start
expressjs@1.0.0 start /Users/Ange/Documents/Angekap/Websites/expressSite
nodemon -e css,ejs,js,json --watch app --ignore feedback.json

sh: nodemon: command not found

npm ERR! Darwin 16.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v6.8.1
npm ERR! npm v3.10.8
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! expressjs@1.0.0 start: nodemon -e css,ejs,js,json --watch app --ignore >feedback.json
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the expressjs@1.0.0 start script 'nodemon -e css,ejs,js,json --watch app -->ignore feedback.json'.
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 expressjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! nodemon -e css,ejs,js,json --watch app --ignore feedback.json
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs expressjs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls expressjs
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/Ange/Documents/Angekap/Websites/expressSite/npm-debug.log

I updated both node and npm and every single modules, but the issue still persist.
Any pointers as to where am going wrong/what am missing?

Thanks in advance.

Ah! I figured out what I was missing -_- lol

While watching the video - using the exercises for this course (for the 100th time lol) - i realised the overlay note telling me to also install nodemonbefore running npm start !

All I needed to do was run npm install nodemon and all my problems were solved!
Thanks again for the course, I'm loving it so far (there's no comment section on lynda, so i thought i'll let you know on here)!

Hey Ange,

Glad you figured it out.

On Tue, Oct 18, 2016 at 9:11 AM, Ange Kap notifications@github.com wrote:

Ah! I figured out what I was missing -_- lol

While watching the video - using the exercises for this course (for the
100th time lol) - i realised the overlay note telling me to also install
nodemonbefore running npm start !

All I needed to do was run npm install nodemon and all my problems were
solved!
Thanks again for the course, I'm loving it so far (there's no comment
section on lynda, so i thought i'll let you know on here)!


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANNaiPV-GEhZYJRS8aLEiQPGtO71WTrks5q1MVmgaJpZM4KZqlu
.

Website http://planetoftheweb.com/ | Flickr
http://flickr.com/planetoftheweb | YouTube
http://youtube.com/planetoftheweb | Twitter
http://twitter.com/planetoftheweb LinkedIn
http://www.linkedin.com/in/planetoftheweb