nodejs报错处理

Issue One

npm ERR! code EINTEGRITY
npm ERR! sha1-Na17Hp6UFFCtPgE0Y1oEvx5hu0I= integrity checksum failed when using sha1: wanted sha1-Na17Hp6UFFCtPgE0Y1oEvx5hu0I= but got sha1-2419yxCwS6EC+RWf55SwUaZ+f78=. (14155016 bytes)

Link To

Try npm cache verify or npm cache --force clean to make sure everything is consistent.

第一个命令卡着很久不动,我直接执行了sudo npm cache --force,问题解决

你可能感兴趣的:(nodejs报错处理)