search

Home  >  Q&A  >  body text

第一次用node.js,准备用Jade模版,但是安装npm过程中出了点问题,请前辈们赐教

npm should be run outside of the node repl, in your normal shell

迷茫迷茫2912 days ago655

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-04-17 13:59:36

    Don’t run node.exe inside npm install, run inside cmd.exe. The windows inside normal shell refers to cmd.exe.

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 13:59:36

    Do not enter blank input in the command: node, and then execute your installation command in node’s REPL (interactive interpreter);

    Now ctrl + c (twice), exit REPL (interactive interpreter), and then execute your installation command again:

    npm install jade

    Okay

    reply
    0
  • Cancelreply