Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialYuichi Narisawa
19,548 Pointsnpm Install doesn't work
Even though I made a package.json in the directory with npm init, I cannot install npm.
I got "npm WARN user_authentication_with_express_and_mongo@1.0.0 No description npm WARN user_authentication_with_express_and_mongo@1.0.0 No repository field." and empty node_modules directory.
My node is v7.4.0, and npm is v4.3.0.
Please help!
3 Answers
shaunhoyes
17,972 PointsWhen you download the zip file provided by Dave, you'll access the project folder in the command line. When you access the folder called JavaScript-user-auth-express
, you have to access a second folder called complete
. This is where you will run the commands like npm install
and npm start
because this is the folder that has the package.json
file in it.
Hopefully this works for you!
Tri Pham
18,671 PointsThose are WARNings (not ERRORS). Did everything actually get installed? Recheck if you are looking in the right folder. Also if you are looking in a text editor it might just not be refreshing.
Yuichi Narisawa
19,548 PointsThanks for the reply. I checked my Mac, and it should be installed... Also, I tried to uninstall & re-install them, but it failed. I don't know what's wrong with it, but thanks anyway.
gagan singh
Full Stack JavaScript Techdegree Student 12,889 Pointsi am having a similar issue where can i get the downloaded zip files ? is it on github?
Yuichi Narisawa
19,548 PointsYuichi Narisawa
19,548 PointsHi, Shaunhoyes! Thank you for your time to answer my question. It helped a lot! ;)