Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
can';t使用heroku部署jhipster注册表_Heroku_Jhipster_Jhipster Registry - Fatal编程技术网

can';t使用heroku部署jhipster注册表

can';t使用heroku部署jhipster注册表,heroku,jhipster,jhipster-registry,Heroku,Jhipster,Jhipster Registry,我尝试使用按钮部署默认jhipster注册表,但失败了 有人能帮我吗 参数: 应用程序名称 myapp注册表 选择一个地区美国 JHIPSTER\u密码****** JAVA_选项 -Xmx256m-Xss512k-Dfile.encoding=UTF-8 MAVEN\u CUSTOM\u选项 -Pprod,heroku-DskipTests NPM\u配置\u生产 假的 日志: 这个问题是由节点SaaS导致的,因为它没有为环境下载有效的二进制文件,所以它试图从头开始重建C++代码,这似乎在He

我尝试使用按钮部署默认jhipster注册表,但失败了

有人能帮我吗

参数:

应用程序名称 myapp注册表

选择一个地区美国

JHIPSTER\u密码******

JAVA_选项 -Xmx256m-Xss512k-Dfile.encoding=UTF-8

MAVEN\u CUSTOM\u选项 -Pprod,heroku-DskipTests

NPM\u配置\u生产 假的

日志:


这个问题是由节点SaaS导致的,因为它没有为环境下载有效的二进制文件,所以它试图从头开始重建C++代码,这似乎在HeloCu转发器中是不可用的。
请升级到node saas v4.9.0,这是支持node 10的第一个版本:

此问题是由于与node 10不兼容造成的。在JHipster注册表代码中,它是通过以下方式修复的。“部署到Heroku”按钮现在可以正常工作了

我能够重现这个问题。看起来这是因为Heroku使用节点10。
   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