cmd中輸入npm命令提示:npm should be run outside of the node repl, in your normal shell.
解決:
cmd窗口打開后不要輸入node,直接打 npm xxxx 命令!!!
如果輸入了會n打開nodejs 的repl模式,需要自己退出該模式或者重新打開cmd窗口才可以進行其它npm命令
cmd中輸入npm命令提示:npm should be run outside of the node repl, in your normal shell.
解決:
cmd窗口打開后不要輸入node,直接打 npm xxxx 命令!!!
如果輸入了會n打開nodejs 的repl模式,需要自己退出該模式或者重新打開cmd窗口才可以進行其它npm命令
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。