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 trial

JavaScript User Authentication With Express and Mongo What is Authentication? Setting Up the Project

npm start is not working properly

I keep trying everything and I downloaded the new version of the code from github, but it is still not working. Any help is appreciated. Thanks :)

What do you mean by 'not properly'? Can you post your package.json? Does the 'start' command point to the appropriate file?

It is just that I try to npm install bcrypt, bcryptjs, and bcrypt-nodejs, but it keeps on saying that bcrypt is not found. I have looked through the other forum posts and most of them say that on windows, bcrypt does not work and you should just use bcryptjs and bcrypt-nodejs. Should I go ahead and delete the whole bcrypt declaration in my javascript files and my package.json and just use the others?

Thanks!

1 Answer

Yes. You can remove it from package.json and all your js files and then remove it also from the node_modules folder.

Austin Whipple
Austin Whipple
29,725 Points

Changing one of your responses to an answer and making it "Best Answer" so you get credit for you helpful responses! Be sure to use the "Add an Answer" text field when appropriate in case a mod isn't around to move stuff around.