Advertisement

vue cli 搭建 报错

阅读量:

项目场景描述

我所配置的环境为Anaconda,因此系统中存在多个Python版本,包括Python 3.7与Python 2.7,并搭配使用了VS2013开发工具。

问题描述:

执行下方指令以安装vue脚手架时出现错误
npm install -g @vue/cli

错误提示:

复制代码
    npm ERR! command failed
    npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
    npm ERR! gyp info it worked if it ends with ok
    npm ERR! gyp info using node-gyp@7.1.2
    npm ERR! gyp info using node@14.17.3 | win32 | x64
    
    
      
      
      
      
      
    
请添加图片描述

解决方案:

系统提示需配置最新版的Vis

全部评论 (0)

还没有任何评论哟~