我尝试使用按钮部署到 heroku来部署默认的 jhipster 注册表,但它失败了。
谁能帮帮我?
参数:
应用名称 myapp-registry
选择地区美国
JHIPSTER_PASSWORD ******
JAVA_OPTS -Xmx256m -Xss512k -Dfile.encoding=UTF-8
MAVEN_CUSTOM_OPTS -Pprod,heroku -DskipTests
NPM_CONFIG_PRODUCTION 假
日志:
binding.target.mk:115: recipe for target 'Release/obj.target/binding/src/binding.o' failed make: *** [Release/obj.target/binding/src/binding.o] Error 1 make: Leaving directory '/tmp/build_e5224961c3b8d6585d4f090ac485ceae/node_modules/node-sass/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/tmp/build_e5224961c3b8d6585d4f090ac485ceae/node_modules/node-gyp/lib/build.js:285:23) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:225:12) gyp ERR! System Linux 4.4.0-1014-aws gyp ERR! command "/tmp/build_e5224961c3b8d6585d4f090ac485ceae/.heroku/node/bin/node" "/tmp/build_e5224961c3b8d6585d4f090ac485ceae/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! cwd > /tmp/build_e5224961c3b8d6585d4f090ac485ceae/node_modules/node-sass gyp ERR! node -v v10.0.0 gyp ERR! node-gyp -v v3.6.0 gyp ERR! not ok Build failed with error code: 1 -----> Build failed We're sorry this build is failing! You can troubleshoot common issues here: https://devcenter.heroku.com/articles/troubleshooting-node-deploys Some possible problems: - Dangerous semver range (>) in engines.node https://devcenter.heroku.com/articles/nodejs-support#specifying-a-node-js-version Love, Heroku ! Push rejected, failed to compile Node.js app. ! Push failed