首先我的报错是这样的
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! vue-devtools@5.3.3 build: `cd packages/shell-chrome && cross-env NODE_ENV=production webpack --progress --hide-modules`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the vue-devtools@5.3.3 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache\_logs\2020-04-10T03_14_39_174Z-debug.log
这是因为我们在git上下载的都是dev分支,能成功的是master分支
由于我也不知道怎么找分支,就下载的别人百度网盘上的,直接就能用了
想要下载的去这→https://www.cnblogs.com/fxwoniu/p/12658603.html