1
Macbook을 사용하여 작은 Node.JS 앱을 개발했습니다. 모든 것이 잘되고 나는 그것을 Heroku에 배치 할 것입니다. 오류와배포하는 동안 fsevents 종속성을 무시합니다.
git push heroku master
명령이 종료 :
9045 info install [email protected]
9046 verbose unsafe-perm in lifecycle true
9047 info [email protected] Failed to exec install script
9048 error [email protected] install: `node-gyp rebuild`
9048 error Exit status 1
9049 error Failed at the [email protected] install script.
9049 error This is most likely a problem with the fsevents package,
9049 error not with npm itself.
9049 error Tell the author that this fails on your system:
9049 error node-gyp rebuild
9049 error You can get their info via:
9049 error npm owner ls fsevents
9049 error There is likely additional logging output above.
9050 error System Linux 3.8.11-ec2
9051 error command "/tmp/build_531abeef-6dec-47ed-a19d-0a9181d01d8d/vendor/node/bin/node" "/tmp/build_531abeef-6dec-47ed-a19d-0a9181d01d8d/vendor/node/bin/npm" "rebuild"
9052 error cwd /tmp/build_531abeef-6dec-47ed-a19d-0a9181d01d8d
9053 error node -v v0.10.32
9054 error npm -v 1.4.28
9055 error code ELIFECYCLE
9056 verbose exit [ 1, true ]
구글 내 친구, 그리고 나에게 문제를 이해하는 데 도움이됩니다.
fsevents은 Mac OS-X FSEvents에 대한 네이티브 액세스 용 NPM 모듈입니다. 그것은 꿀꿀 거리는 소리 - browserify 종속성으로 내 로컬 컴퓨터에 설치되어있어
:
./node_modules/grunt-browserify/node_modules/watchify/node_modules/chokidar/node_modules/fsevents
에게 Heroku (리눅스)는 필요도 물론 지원하지 않습니다.
- 어떻게이 fsevents 종속성을 배포에서 Heroku로 "제외 할 수 있습니까?"