When I direct to folder what I clone AngularJs by Git and try to use the command "npm install". Then, It always show the info below. I'm sure that I have package.json and cd to the folder.
Here is enviroment of mine:
- OS Win7
- Node.js version v5.3.0
- npm version v3.3.12
Error Message:
events.js:141
throw er; // Unhandled 'error' event<
^
Error: This socket is closed.<br>
at WriteStream.Socket._writeGeneric (net.js:640:19)<br>
at WriteStream.Socket._write (net.js:694:8)<br>
at doWrite (_stream_writable.js:292:12)<br>
at writeOrBuffer (_stream_writable.js:278:5)<br>
at WriteStream.Writable.write (_stream_writable.js:207:11)<br>
at WriteStream.Socket.write (net.js:618:40)<br>
at WriteStream.stream.write (C:\ProgramFiles\nodejs\node_modules\npm\
node_modules\npmlog\node_modules\ansi\lib\newlines.js:36:21)<br>
at Cursor.write (C:\ProgramFiles\nodejs\node_modules\npm\
node_modules\npmlog\node_modules\ansi\lib\ansi.js:157:23)<br>
at Cursor.(anonymous function) [as show] (C:\Program Files\nodejs\
node_modules\npm\node_modules\npmlog\node_modules\ansi\lib\ansi.js:226:26)<br>
at Object.ProgressBar.hide (C:\Program Files\nodejs\node_modules\npm\
node_modules\npmlog\node_modules\gauge\progress-bar.js:101:15)<br>