• 카테고리

    질문 & 답변
  • 세부 분야

    프론트엔드

  • 해결 여부

    미해결

vue lecture Trello server ,npm install 에러

19.08.08 00:36 작성 조회수 179

0

npm install시 에러가납니다.

 

node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.4/fse-v1.2.4-node-v72-darwin-x64.tar.gz

node-pre-gyp WARN Pre-built binaries not found for fsevents@1.2.4 and node@12.6.0 (node-v72 ABI, unknown) (falling back to source compile with node-gyp)

  SOLINK_MODULE(target) Release/.node

  CXX(target) Release/obj.target/fse/fsevents.o

In file included from ../fsevents.cc:6:

In file included from ../../nan/nan.h:202:

In file included from ../../nan/nan_converters.h:67:

../../nan/nan_converters_43_inl.h:22:1: warning: 'ToBoolean' is deprecated: ToBoolean can never throw. Use Local

      version. [-Wdeprecated-declarations]

X(Boolean)

^

../../nan/nan_converters_43_inl.h:18:12: note: expanded from macro 'X'

      val->To ## TYPE(isolate->GetCurrentContext())                            \

           ^

<scratch space>:202:1: note: expanded from here

ToBoolean

^

 

 

중략...

 

 

gyp ERR! stack     at ChildProcess.emit (events.js:203:13)

gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)

gyp ERR! System Darwin 18.6.0

gyp ERR! command "/usr/local/Cellar/node/12.6.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/Users/has3ong/Desktop/GitHub/Vuejs-Trello/lecture-vue-trello-server/node_modules/sqlite3/lib/binding/node-v72-darwin-x64/node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=/Users/has3ong/Desktop/GitHub/Vuejs-Trello/lecture-vue-trello-server/node_modules/sqlite3/lib/binding/node-v72-darwin-x64" "--napi_version=4" "--node_abi_napi=napi"

gyp ERR! cwd /Users/has3ong/Desktop/GitHub/Vuejs-Trello/lecture-vue-trello-server/node_modules/sqlite3

gyp ERR! node -v v12.6.0

gyp ERR! node-gyp -v v3.8.0

gyp ERR! not ok

npm WARN lecture-vue-trello-server@1.0.0 No description

npm WARN lecture-vue-trello-server@1.0.0 No repository field.

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 install: `node install`

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

 

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! sqlite3@4.0.2 install: `node-pre-gyp install --fallback-to-build`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the sqlite3@4.0.2 install script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

 

npm ERR! A complete log of this run can be found in:

npm ERR!     /Users/has3ong/.npm/_logs/2019-08-07T15_34_20_764Z-debug.log

 

 

어떻게 해결하죠

답변 2

·

답변을 작성해보세요.

0

위에 Hyunsoo Jung 님이 잘 알려 주셨네요. 노드 버전을 영상에서 사용한것과 맞춰주시고요. 혹은 node_modules 폴더를 삭제하고 다시 설치해 보시기 바랍니다.

0

Hyunsoo Jung님의 프로필

Hyunsoo Jung

2019.09.03

혹시 해결하셨나요? 저도 같은 증상을 겪어서요.

전 Node 12 버전에서 문제가 발생해서 10버전으로 다운그레이드하고 해결했습니다.

fsevents 모듈이 아직 Node v12 용 바이너리가 않았나 봅니다.

혹시 도움이 될까해서 남깁니다.