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<noob />
17,062 PointsI cant do this course its really frustrating...
dave dont explain how to setup the project files well, I get this error everytime i do node app.js...
3 Answers
Dale Severude
Full Stack JavaScript Techdegree Graduate 71,350 PointsTo setup the project you will need to copy over the project files to your computer and then at the terminal run npm install
to install all the dependencies.
To start the project run mongod
at the terminal and then open a second terminal window and run npm start
.
To view the website, open a browser and go to the URL: http://localhost:3000
This is assuming you have already installed npm, node, and mongoDB from previous courses. If not, you may want to take the prerequisites first.
Julian Shadrin
15,727 Points- Open terminal in IDE
- Open code project folder in IDE
- Type "ls" into terminal for current folders in code project folder
- Type into terminal "cd S1V4" then press tab to autocomplete file path
- You should now be in correct file path for start of this lesson e.x.(JavaScript-user-auth-express\JavaScript-user-auth-express\S1V4\public
- Type in "npm install"
<noob />
17,062 Pointshow to set up mongodb, how to even start the project, i dont know how to access the file in the cmd
David Ryan
Courses Plus Student 14,981 PointsDavid Ryan
Courses Plus Student 14,981 PointsWhat is your error?