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 Express Basics (2015) Getting Started with Express Install Express.js

Rahmat Abdhir
Rahmat Abdhir
15,198 Points

How to edit my package.json from treehouse virtual machine

I am using cmdr console, then do vagrant up from the treehouse dir, then vagrant ssh to treehouse virtual machine. After installing express, ie, typing command npm install express --save, and do the npm init, I am following along the instructor's step to view the package.json file. But since sublime text is not installed on the virtual machine, return command not found. I do have sublime text installed on my windows10 machine, but how do I get it to work, since they are on two different machine. Thank you..

4 Answers

faraz
PLUS
faraz
Courses Plus Student 21,474 Points

You can use vi, it is installed on the VM.

Rahmat Abdhir
Rahmat Abdhir
15,198 Points

I could not think of other workaround except to use git shell on windows. I could get the sublime text working, but then came to different type of issue when doing git checkout easilyDebugExpress, on which I already raised in another post.

Rahmat Abdhir
Rahmat Abdhir
15,198 Points

The question is can I proceed to install nodeman without first getting the easilyDebugExpress part. Would the install work?. Thank you.

Karolin Rafalski
Karolin Rafalski
11,368 Points

I use a Mac and I have not set up an express server via Treehouse, so I am sorry, I cannot help you. I hope you find your solution soon!