npm

npm

# 安装依赖
npm i

# 启动服务
npm run serve

# 构建
npm run build

npm环境问题

npm ERR! notarget No matching version found for @tarojs/redux-h5@3.4.1.

 npm view @tarojs/redux-h5
# 找到包地址
# dist
# .tarball: https://registry.npmjs.org/@tarojs/redux-h5/-/redux-h5-2.2.10.tgz

npm install https://registry.npmjs.org/@tarojs/async-await/-/async-await-2.2.10.tgz

参考