css - 想手动编译bootstrap,安装grunt-cli时出错了
PHPz
PHPz 2017-04-17 11:59:10
[HTML讨论组]

这是错误信息,请问如何解决呢?

npm ERR! Windows_NT 6.3.9600
npm ERR! argv "E:\\softWares\\nodeJs\\\\node.exe" "E:\\softWares\\nodeJs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "grunt-cil"
npm ERR! node v0.12.0
npm ERR! npm v3.5.1
npm ERR! code E404

npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/grunt-cil
npm ERR! 404
npm ERR! 404 'grunt-cil' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\ZXQ\npm\npm-debug.log

PHPz
PHPz

学习是最好的投资!

全部回复(2)
阿神

有个答案中说找不到grunt-cli那是因为你打错成了grunt-cil了。

先在安装grunt-cli在全局环境下面,推荐使用cnpm进行安装(npm可能会有被墙的情况)。

cnpm install -g grunt-cli
  • grunt-cli

  • cnpm

PHP中文网

我错了 对不起

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号