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 trialMatt Roberts
5,173 PointsUnable to install bcrypt
I get this error in the console log
treehouse:~/workspace$ npm install bcryptjs
npm WARN saveError ENOENT: no such file or directory, open '/home/treehouse/workspace/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/treehouse/workspace/package.json'
npm WARN workspace No description
npm WARN workspace No repository field.
npm WARN workspace No README data
npm WARN workspace No license field.
-
bcryptjs@2.4.3
updated 1 package and audited 440 packages in 3.147s
found 0 vulnerabilities
treehouse:~/workspace$
I also get a second error where it thinks the internet connection is lost
1 Answer
Myers Carpenter
6,421 PointsThe warnings are normal. Usually when using NPM you have run npm init
for your project which creates a packages.json
file. In this example we didn't do that.
I'm not sure about "I also get a second error where it thinks the internet connection is lost".