npm install
输出一下错误
npm ERR! code E404
npm ERR! 404 Not Found - GET https://xx.xx/xx/xx/xx- Not Found
npm ERR! 404
npm ERR! 404 'moment@2.29.1' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'hr_front_end'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
解决方案:
1、更换淘宝镜像:npm config set registry http://registry.npm.taobao.org
2、 执行安装:npm install