Heroku内部服务器错误... 我关注了Heroku文档,并尝试了多次,但没有任何效果。
Heroku构建日志:
检测到Node.js应用
----->创建运行时环境
NPM_CONFIG_LOGLEVEL=error
USE_YARN_CACHE=true
NODE_ENV=production
NODE_MODULES_CACHE=true
NODE_VERBOSE=false
----->安装二进制文件
engines.node (package.json): unspecified
engines.npm (package.json): unspecified (use default)
engines.yarn (package.json): unspecified (use default)
Resolving node version 12.x...
Downloading and installing node 12.19.0...
Using default npm version: 6.14.8
Resolving yarn version 1.22.x...
Downloading and installing yarn (1.22.10)
Installed yarn 1.22.10
! node_modules checked into source control
https://devcenter.heroku.com/articles/node-best-practices#only-git-the-important-bits
----->安装依赖项
Installing node modules (yarn.lock)
yarn install v1.22.10
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
Done in 3.13s.
----->构建
----->修剪devDependencies
yarn install v1.22.10
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
warning Ignored scripts due to flag.
Done in 0.66s.
----->缓存构建
- yarn cache
----->构建成功!
----->发现流程类型
Procfile declares types -> (none)
Default types for buildpack -> web
----->压缩...
Done: 27.4M
----->正在启动...
Released v3
https://innerpoet.herokuapp.com/ deployed to Heroku