browserify / watchify

watch mode for browserify builds
Other
1.79k stars 203 forks source link

npm install echarts-for-react give error "library not found for -lgcc_s.10.5" #328

Closed lile269 closed 8 years ago

lile269 commented 8 years ago

detail: sudo npm install echarts-for-react Password:

bufferutil@1.2.1 install /Users/lile/node_modules/bufferutil node-gyp rebuild

CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/bufferutil.node ld: library not found for -lgcc_s.10.5 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *\ [Release/bufferutil.node] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:100:13) gyp ERR! stack at ChildProcess.emit (events.js:185:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) gyp ERR! System Darwin 14.5.0 gyp ERR! command "/usr/local/Cellar/node/5.11.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/lile/node_modules/bufferutil gyp ERR! node -v v5.11.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm WARN install:bufferutil@1.2.1 bufferutil@1.2.1 install: node-gyp rebuild npm WARN install:bufferutil@1.2.1 Exit status 1

utf-8-validate@1.2.1 install /Users/lile/node_modules/utf-8-validate node-gyp rebuild

CXX(target) Release/obj.target/validation/src/validation.o SOLINK_MODULE(target) Release/validation.node ld: library not found for -lgcc_s.10.5 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *\ [Release/validation.node] Error 1 gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) gyp ERR! stack at emitTwo (events.js:100:13) gyp ERR! stack at ChildProcess.emit (events.js:185:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) gyp ERR! System Darwin 14.5.0 gyp ERR! command "/usr/local/Cellar/node/5.11.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /Users/lile/node_modules/utf-8-validate gyp ERR! node -v v5.11.0 gyp ERR! node-gyp -v v3.4.0 gyp ERR! not ok npm WARN install:utf-8-validate@1.2.1 utf-8-validate@1.2.1 install: node-gyp rebuild npm WARN install:utf-8-validate@1.2.1 Exit status 1 lile@ /Users/lile ├── echarts-for-react@1.1.3 └── UNMET PEER DEPENDENCY react@15.1.0