执行npm ,再不用sudo sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share} https://docs.npmjs.com/getting-started/fixing-npm-permissions web前端工程化 2023-08-23 37 点赞 0 评论 56 浏览