我刚刚在全球范围内永久安装(-g)。在此之前,我曾经与
$ npm start
现在永久安装后,我尝试午餐节点应用程序
$ NODE_ENV=development forever nodemon server.js
但我收到此错误
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
error: Cannot start forever
error: script /path/to/app/nodemon does not exist.
同样也与
$ NODE_ENV=development forever nodemon server.js
任何想法?