![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
蓝色格子
这个作者很懒,什么都没留下…
展开
-
npm install出现not looking for VS2013 as it is only supported up to Node.js 8
npm install时出现以下错误:gyp verb find VS looking for Visual Studio 2015gyp verb find VS - not foundgyp verb find VS not looking for VS2013 as it is only supported up to Node.js 8gyp ERR! find VSgyp ERR! find VS msvs_version not set from command line or npm原创 2021-10-20 15:21:41 · 11187 阅读 · 7 评论 -
npm install时出现gyp ERR stack Error: Could not find any Python installation to use
vue打包时提示没有安装python原创 2021-10-20 13:54:45 · 22396 阅读 · 0 评论 -
vue项目npm install时出现no such file or directory node_modules\.staging
在执行npm install时出现no such file or directory node_modules\.staging\出现这个后,执行后续的npm run会报错,如:vue-typescript-admin-template@0.1.0 beta: vue-cli-service build --mode beta。这个出现的原因是npm版本配置不一致导致,可以尝试重新安装npm。操作:npm cache clean -f npm install -g npm完成后重新执行np原创 2021-02-21 10:48:08 · 4540 阅读 · 0 评论 -
node使用nrm切换源
我们安装完成node环境后,默认使用的镜像源是npm,但是有时候,需要切换到其他的镜像源安装依赖,这时候我们需要用nrm(npm registry manager )进行源的快速切换。1.安装nrm安装nrm很简单,使用npm install -g nrm可以直接就全局安装安装完成后,我们可以使用nrm ls查看所有的可用源,展示的源前有*的表示目前正在使用的源。2.切换源我们通过nrm ls查看目前可用的源后,需要切换到某个源,直接使用nrm use <源名>即可完成切换。比如我原创 2020-09-23 11:43:00 · 2474 阅读 · 0 评论 -
linux中搭建vue环境
1.安装nodejs环境首先在nodejs官网选择自己需要下载的版本。进入文件后选择tar.xz,复制下载的链接。使用wget下载对应的tar.xz文件。wget https://nodejs.org/dist/v12.18.1/node-v12.18.1-linux-x64.tar.xz## 创建目录mkdir -p /usr/local/nodejs## 解压到指定目录tar -xf node-v12.18.1-linux-x64.tar.xz -C /usr/local/nodejs原创 2020-06-29 10:37:20 · 1045 阅读 · 0 评论