0

我正在推动 Heroku。

不幸的是,该应用程序无法找到“web3”。

在我的本地机器上,该应用程序运行良好(可能与 C 编译器有关,它在我的本地机器上,但不在 Heroku dyno 上?)。当我查看 heroku 日志时,我在说“在 $PATH 上找不到 c 编译器”之前看到了一个错误。

package.json 文件在下面。

{
  "name": "mean-demo",
  "version": "0.0.1",
  "dependencies": {
"@sendgrid/mail": "^6.1.4",
"angular-spinners": "^3.1.2",
"bcrypt-nodejs": "0.0.3",
"body-parser": "^1.18.2",
"bootstrap-slider": "^9.2.0",
"crypto": "^1.0.1",
"ejs": "^2.5.7",
"event-stream": "^3.3.4",
"express": "^4.16.2",
"express-jwt": "^5.0.0",
"express-mailer": "^0.3.1",
"gcc": "^1.0.2",
"gulp": "^3.9.1",
"gulp-clean": "^0.3.2",
"gulp-concat": "^2.6.0",
"gulp-rename": "^1.2.2",
"gulp-typescript": "^2.13.6",
"gulp-uglify": "^2.0.0",
"jquery": "^3.1.0",
"jsonwebtoken": "^7.1.9",
"mailgun-js": "^0.13.1",
"make": "^0.8.1",
"mongoose": "^4.10.8",
"morgan": "^1.9.0",
"multer": "^1.3.0",
"passport": "^0.3.2",
"passport-facebook": "^2.1.1",
"passport-local": "^1.0.0",
"req-timeout": "^1.0.2",
"typescript": "^1.8.10",
"ui-router": "^1.0.0-alpha.3",
"underscore": "^1.8.3",
"web3": "^0.20.3"
  }
}

任何帮助将非常感激。

4

0 回答 0