npm install mysql-libmysqlclient 在windows上安装不上这个驱动
发布于 2年前 作者 yakczh 1055 次浏览

npm install mysql-libmysqlclient

npm http GET http://npm.stdyun.com/mysql-libmysqlclient
npm http 304 http://npm.stdyun.com/mysql-libmysqlclient
npm ERR! Error: No compatible version found: mysql-libmysqlclient@'>=1.5.2- <1.6.0-'
npm ERR! Valid install targets:
npm ERR! ["0.0.10","0.0.7","0.0.8","0.0.9","1.0.0","1.0.1","1.0.2","1.0.3","1.1.0","1.1.1","1.2.1","1.2.2","1.2.3","1.2.4","1.2.7","1.2.8","1.2.9","1.2.10","1.3.0","1.3.1","1.3.2","1.3.3",
"1.4.0","1.5.0","1.5.1"]
npm ERR!     at installTargetsError (C:\Program Files\nodejs\node_modules\npm\lib\cache.js:563:10)
npm ERR!     at next (C:\Program Files\nodejs\node_modules\npm\lib\cache.js:542:17)
npm ERR!     at C:\Program Files\nodejs\node_modules\npm\lib\cache.js:522:5
npm ERR!     at saved (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-registry-client\lib\get.js:138:7)
npm ERR!     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:218:7
npm ERR!     at Object.oncomplete (fs.js:297:15)
npm ERR! If you need help, you may report this log at:
npm ERR!     <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR!     <npm-[@googlegroups](/user/googlegroups).com>

npm ERR! System Windows_NT 6.1.7600
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe"
npm ERR! node -v v0.8.14
npm ERR! npm -v 1.1.65
1 回复

我大概记录了一下: http://tengattack.com/archive/586

运行起来效果不错

回到顶部