node v12.2.0

要使用npx命令则npm版本需要>5.2

创建项目:npx es10-cli create 项目名

运行:npm start

 

如果npm不大于5.2,无法使用npx

npm install es10-cli -g

es10-cli create 项目名

cd 项目名

npm start

 

如果还不行

git clone https://github.com/cucygh/es-cli.git 项目名

cd 项目名

npm install

npm start

 

再不行就切换npm源

相关文章:

  • 2021-06-14
  • 2021-11-30
  • 2021-10-02
  • 2021-09-10
  • 2022-12-23
  • 2021-12-18
  • 2021-07-27
  • 2021-10-31
猜你喜欢
  • 2021-04-14
  • 2022-12-23
  • 2021-10-08
  • 2022-12-23
  • 2021-11-01
  • 2021-09-04
  • 2021-05-27
相关资源
相似解决方案