【问题标题】:npm install always stuck at that exact timenpm install 总是卡在那个确切的时间
【发布时间】:2019-04-28 08:05:49
【问题描述】:

我尝试运行 $ npm install -g truffle 和 $npm install 但它一直在某个特定点冻结。

我也尝试了命令 yarn global add truffle 但它产生了错误。 我在互联网上寻找答案,其中一个建议运行 npm config set registry http://registry.npmjs.org/ 然后 npm install,现在我收到错误:

EPERM: operation not permitted, unlink 'C:\Users\dell\AppData\Roaming\npm\node_modules\.staging'
yarn command now freezes after a point

。 我是初学者,请帮忙。

【问题讨论】:

  • 你试过使用 sudo 吗?

标签: node.js npm truffle


【解决方案1】:

当我使用 Windows 时,这种情况发生在我身上很多次。在我觉得它被冻结之后我所做的让它继续下去的是

  1. 单击终端。确保将焦点设置在终端上

  2. 点击ctrl + k

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-05-24
    • 2018-01-08
    • 1970-01-01
    • 1970-01-01
    • 2020-09-14
    • 1970-01-01
    • 2020-08-07
    • 2019-03-24
    相关资源
    最近更新 更多