'ionic' 不是内部或外部命令,也不是可运行的程序或批处理文件。

1、重装NodeJS

2、配置NodeJS全局和缓存路径

   npm config set prefix “D:\Program Files\npm\node_global”  

   npm config set cache  “D:\Program Files\npm\node_cache”

3、配置环境变量

用户变量和系统变量新增变量NODE_PATH,变量值:D:\Program Files\npm\node_global

用户变量和系统变量Path,新增值:%NODE_PATH%

相关文章:

  • 2021-05-04
  • 2021-09-01
  • 2021-05-23
  • 2021-06-22
  • 2021-08-07
  • 2021-04-05
  • 2021-10-22
  • 2021-07-18
猜你喜欢
  • 2021-09-20
  • 2022-12-23
  • 2022-02-13
  • 2021-11-21
  • 2021-09-15
  • 2021-11-11
  • 2021-06-28
相关资源
相似解决方案