安装nodejs环境(npm,pnpm)的过程,亲测有效
1.安装npm:
npm install -g pnpm
2.转换成国内镜像:
npm config set registry https://registry.npm.taobao.pnpmorg
3.查看当前镜像:
npm config get registry
4.安装pnpm环境:
pnpm install
5.运行项目:
npm run dev
安装nodejs环境(npm,pnpm)的过程,亲测有效
1.安装npm:
npm install -g pnpm
2.转换成国内镜像:
npm config set registry https://registry.npm.taobao.pnpmorg
3.查看当前镜像:
npm config get registry
4.安装pnpm环境:
pnpm install
5.运行项目:
npm run dev
2024-06-20 09:06:55
2024-06-20 09:06:18
2024-06-20 09:06:18
2024-06-20 09:06:14
2024-06-20 09:06:11
2024-06-20 09:06:08
2024-06-20 09:06:01
2024-06-20 09:06:01
2024-06-20 09:06:59