-
-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nodejieba 安装失败 #98
Comments
我也遇到了 > nodejieba@2.2.5 install /Users/doyee/workspace/node/Liaoru/node_modules/nodejieba
> node-gyp rebuild
CXX(target) Release/obj.target/nodejieba/lib/index.o
/Users/doyee/workspace/node/Liaoru/node_modules/.bin/touch: line 1: syntax error near unexpected token `('
/Users/doyee/workspace/node/Liaoru/node_modules/.bin/touch: line 1: `var touch = require("../touch")'
make: *** [Release/obj.target/nodejieba/lib/index.o] Error 2
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/doyee/.nvm/versions/node/v8.9.3/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Darwin 16.0.0
gyp ERR! command "/Users/doyee/.nvm/versions/node/v8.9.3/bin/node" "/Users/doyee/.nvm/versions/node/v8.9.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/doyee/workspace/node/Liaoru/node_modules/nodejieba
gyp ERR! node -v v8.9.3
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok |
是否可以提供预编译的版本?npm 业界一般都是使用 https://github.com/mapbox/node-pre-gyp 来实现预编译,这样使用者本地就不需要安装编译环境依赖了。 |
我也遇到第一种情况 |
|
use |
This issue has not been updated for over 1 year and will be marked as stale. If the issue still exists, please comment or update the issue, otherwise it will be closed after 7 days. |
This issue has been automatically closed due to inactivity. If the issue still exists, please reopen it. |
mac 安装 nodejieba 失败,不知道是版本问题还是其他什么问题?
The text was updated successfully, but these errors were encountered: