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 37 点赞 0 评论 56 浏览