npm i 报错 Unexpected token in JSON at position 0 while parsing near html 方法一npmcache clean --force(亲测可用)方法二npm config set registryhttps://registry.npmjs.org(设置淘宝镜像)然后npm i npm+node+webpack 2023-12-14 127 点赞 1 评论 192 浏览