SitePoint Sponsor |
|
User Tag List
Results 1 to 6 of 6
Thread: Ch.1 Windows Install
-
Dec 5, 2012, 05:24 #1
- Join Date
- Aug 2008
- Posts
- 8
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Ch.1 Windows Install
I am new to node and seem to be stuck on ch.1
I have set installed node using the windows install package, and it appears to be working fine with the hello world test etc.
Do I need to install Expess also or is this included with the install?
Also is there a certain directory where I should store my files such as the form and ap.js?
-
Dec 10, 2012, 01:10 #2
- Join Date
- Nov 2012
- Posts
- 48
- Mentioned
- 2 Post(s)
- Tagged
- 0 Thread(s)
You will need to install Express via npm. Instructions are included in the book. You are free to choose any directory you wish
-
Jan 22, 2013, 22:08 #3
- Join Date
- Jan 2013
- Posts
- 2
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I'm trying to install Express via npm courtesy of the instructions in the book. All I get from the console is this:
> sudo npm install -g express@2.5.8
...
-
Jan 23, 2013, 21:09 #4
- Join Date
- Jan 2013
- Posts
- 2
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Nevermind. Was trying to install it while within node. I tried installing without the "sudo" (i.e., > npm install -g express@2.5.8) and cmd said, "npm should be run outside of node repl in your normal shell." So I exited node, and ran it from the shell without sudo, and it worked.
-
Feb 16, 2013, 19:49 #5
- Join Date
- Feb 2013
- Posts
- 2
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I had a lot of trouble at this point too and found same issue/ambiguity with sudo as Bob. Express was still not installing - finally figured out I needed to run cmd in administrator mode. Ok for now. Cheers Nik
-
Apr 22, 2013, 06:40 #6
- Join Date
- Apr 2013
- Posts
- 1
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Cheers Bob - you're not the only one!
Bookmarks