【问题标题】:Unable to install Grunt in Ubuntu无法在 Ubuntu 中安装 Grunt
【发布时间】:2013-06-13 20:13:43
【问题描述】:
:~$ npm install -g grunt
npm http GET https://registry.npmjs.org/grunt
../src/node_crypto_bio.cc:213: size_t node::NodeBIO::Read(char*, size_t): Assertion `read_head_ != write_head_' failed.
Aborted (core dumped)

我尝试安装grunt,但收到此错误。 我已经安装了 node 和 npm。 请有人帮我解决这个问题!

【问题讨论】:

  • node 和 npm 的版本?

标签: node.js npm gruntjs


【解决方案1】:

请试试这个命令。

npm 配置设置注册表http://registry.npmjs.org/

【讨论】:

    猜你喜欢
    • 2017-05-31
    • 2015-09-18
    • 2017-12-20
    • 2013-11-16
    • 2014-03-09
    • 2017-11-01
    • 2020-09-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多