小编Q.M*_*ley的帖子

Mac 上的 Node.js Heroku 部署 - sh: 1: nodemon: not found / npm ERR!`nodemon fileName.js` / npm ERR!在...启动脚本失败

在部署HerokuNode.js使用Mac

我的问题:

State changed from starting to crashed &&  
sh: 1: nodemon: not found &&  
Failed at...start script &&
status 1...code=H10
Run Code Online (Sandbox Code Playgroud)

After creating my front-end, with React, back-end server, with node.js/express.js, and database, with PostgreSQL, I attempted to deploy my server on Heroku with Git. Since I already had Git, I moved onto Heroku CLI

First, from the terminal in my server...

brew install heroku/brew/heroku
heroku create
git …
Run Code Online (Sandbox Code Playgroud)

macos heroku node.js npm nodemon

10
推荐指数
1
解决办法
8867
查看次数

标签 统计

heroku ×1

macos ×1

node.js ×1

nodemon ×1

npm ×1