1.采用新的镜像地址
npm config set registry https://registry.npmmirror.com
2.清理缓存
npm cache clean --force
3.安装yarn
npm install -g yarn
4. 安装模块
在node_modules 同级目录执行下面命令:
yarn add napi-build-utils env-paths express ejs cors crypto-js bl ansi-regex sqlite3 moment jsonwebtoken multer marked prismjs