-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
version 2.2.2 Can't build on Win 10 x64 #64
Comments
目测是源码里面有 utf8的中文,可能你的 visual studio 不支持 utf8 中文? |
I've changed the shell I use from GitBash to PowerShell and successfully built it. Thanks. |
win 7 x64 @2.2.4 也不行,同样的问题
|
有知道怎么解决吗,或者你们有没有编译好的代码包 |
win7 64位,请使用nodejs 0.12.X 版本,高版本有问题。VS2010、2012、2013、2015都可以。 |
低版本依然不行, 有任何方法可以測試嗎? |
@huguoba 好吧,我用 nvm-windows 包,切换node到4.6也是可以的,哈哈! |
@mygoodboy 我用的是npm安装的,只要把node-gyp装上就可以了,不过这个比较麻烦,windows的话选择有两种方法,我选择的是option 1 |
@mygoodboy 手动下载肯定是不行的,因为需要编译,如果不行一般都是 node-gyp 和 npm 的版本不对,建议重装一下 node-gyp 和 npm 。 |
$ npm install nodejieba -g
C:\Users\amz\AppData\Roaming\npm\node_modules\nodejieba>if not defined npm_config_node_gyp (node "C:\amz\▒▒▒▒\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\amz\▒▒▒▒\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) npm ERR! A complete log of this run can be found in: |
The text was updated successfully, but these errors were encountered: