express command not found in bash after installing it with npm

后端 未结 7 1311
自闭症患者
自闭症患者 2020-12-23 11:53

just installed new ubuntu vm to test around with node installed things in this order:

node
mongodb-server
npm
express
mongoose

now, trying

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-23 12:39

    IF you are running windows:

    export NODE_PATH="C:\Users\IMarek\AppData\Roaming\npm\node_modules"
    

提交回复
热议问题