启动报错
npm ERR! Unexpected token < in JSON at position 1 while parsing near '
npm ERR! <!doctype html>
npm ERR! <htm...'
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2023-04-12T06_54_11_403Z-debug.log
错误原因:npm官方源有问题
npm config set registry http://www.npmjs.org
解决方案:改成taobao源
第一步:设置淘宝源npm config set registry https://registry.npm.taobao.org
第二步:安装依赖 npm install