npm should be run outside of the node repl, in your normal shell
业精于勤,荒于嬉;行成于思,毁于随。
Don’t run node.exe inside npm install, run inside cmd.exe. The windows inside normal shell refers to cmd.exe.
node.exe
npm install
cmd.exe
windows
normal shell
Do not enter blank input in the command: node, and then execute your installation command in node’s REPL (interactive interpreter);
node
REPL
Now ctrl + c (twice), exit REPL (interactive interpreter), and then execute your installation command again:
ctrl + c
npm install jade
Okay
Don’t run
node.exe
insidenpm install
, run insidecmd.exe
. Thewindows
insidenormal shell
refers tocmd.exe
.Do not enter blank input in the command:
node
, and then execute your installation command innode
’sREPL
(interactive interpreter);Now
ctrl + c
(twice), exitREPL
(interactive interpreter), and then execute your installation command again:Okay