1
몇 시간 동안이 문제를 해결하기 위해 노력했지만 지금은 서버에서 Docker를 업데이트했지만 이제는 "git push dokku origin master"Dokku Buil 실패 - 수신 전 후크가 거부되었습니다
을 통해 새로운 내용을 추가 할 수 없습니다.이것은 내가받는 메시지입니다. 도와주세요!!!
Counting objects: 59, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (56/56), done.
Writing
objects: 100% (59/59), 5.89 KiB | 0 bytes/s, done.
Total 59 (delta 38), reused 0 (delta 0)
-----> Cleaning up...
-----> Building psofnyc from herokuish...
-----> Adding BUILD_ENV to build environment...
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
NPM_CONFIG_PRODUCTION=true
NODE_ENV=production
NODE_MODULES_CACHE=true
-----> Installing binaries
engines.node (package.json): 4.1.2
engines.npm (package.json): 2.14.4
Downloading and installing node 4.1.2...
npm 2.14.4 already installed with node
-----> Restoring cache
Loading 2 from cacheDirectories (default):
- node_modules (not cached - skipping)
- bower_components (not cached - skipping)
-----> Building dependencies
Pruning any extraneous modules
Installing node modules (package.json)
remote: /tmp/buildpacks/heroku-buildpack-nodejs/lib/dependencies.sh: line 10: 306 Killed npm install --unsafe-perm --userconfig $build_dir/.npmrc 2>&1
-----> Build failed
We're sorry this build is failing! You can troubleshoot common issues here:
https://devcenter.heroku.com/articles/troubleshooting-node-deploys
If you're stuck, please submit a ticket so we can help:
https://help.heroku.com/
Love,
Heroku
To [email protected]:psofnyc
! [remote rejected] master -> master (pre-receive hook declined)
이것은 확실히 문제이며, 최소한 npm install 실행을 처리하기 위해 스왑 메모리를 추가하고 싶을 것입니다. 헤로 쿠에서 제공하는 dyno와 다른 시스템을 사용하여 슬러그를 제작할 때 이러한 일이 발생하지 않습니다. –