【发布时间】: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 吗?