vue的问题

news/2024/7/10 3:09:47 标签: vue

npm ERR! FetchError: Invalid response body while trying to fetch https://registry.npm.taobao.org/vue-cli: EPERM: operation not permitted, mkdir 'D:\node\node_cache'

淘宝源有问题

还华为源

npm config set registry=https://mirrors.huaweicloud.com/repository/npm/

npm ERR! Error: EPERM: operation not permitted, mkdir 'D:\node\node_cache'

node文件->属性->安全->选择username->编辑->完全控制后面打钩

npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path D:\nodejs\node_cache\_cacache
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, mkdir 'D:\nodejs\node_cache\_cacache'
npm ERR!  [Error: EPERM: operation not permitted, mkdir 'D:\nodejs\node_cache\_cacache'] {
npm ERR!   errno: -4048,
npm ERR!   code: 'EPERM',
npm ERR!   syscall: 'mkdir',
npm ERR!   path: 'D:\\nodejs\\node_cache\\_cacache'
npm ERR! }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
npm ERR! or that you lack permissions to access it.
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

删掉C:\Users\peng目录下面的.npmrc文件

 

vue安装教程

vue环境安装与搭建 - gsy111bbb - 博客园

vue启动

npm run serve 


http://www.niftyadmin.cn/n/1491364.html

相关文章

运行GitHub上的源码时遇到的错误

错误没截全,见谅 npm ERR! path git npm ERR! code ENOENT npm ERR! errno ENOENT npm ERR! syscall spawn git npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t ssh://gitgithub.com/sohee-lee7/Squire.git 这是因为没有安装…

炫酷水球图:让数据可视化更生动有趣

水球图是一种独特而引人注目的数据可视化形式,通过模拟水球的形状和大小来展示数据的分布和比例关系。它以其生动的表现形式和直观的视觉效果,吸引了越来越多的关注和应用。在数据可视化领域,水球图为我们提供了一种直观、易于理解的方式来展…

Python+PyCharm+Django搭建Web开发环境

PythonPyCharmDjango搭建Web开发环境 一、准备工作 安装Python2.7下载PyCharm Community二、搭建步骤 #搭建开发服务器 1.使用PyCharm新建一个普通工程,并设置项目的interpreter为一个新的Virtualenv,这样PyCharm会自动创建所需的setuptools、pip工具2.通过termina…

python 安装whl文件

python 安装whl文件 使用场景: 在terminal中 通过 pip install 命令进行第三方模块安装时,由于网络获其他原因会使得第三方模块下载失败,导致安装失败。此时,我们可以先通过下载网址将第三方模块包手动下载到本地,再手…

python BeautifulSoup使用小记

python BeautifulSoup使用小记 注:最近在使用BeautifulSoup 进行HTML解析,记一笔~ 一、BeautifulSoup一些用法规则 1.导入BeautifulSoup模块 from BeautifulSoup import BeautifulSoup 2.获取BeautifulSoup对象 soupBeautifulSoup(str) 3.通过ID获…

python pandas读写Excel

python pandas读写Excel 一、pandas读Excel 1.pandas.ExcelFile import pandas as pd #从excelFilePath读取excel read_contentpd.ExcelFile(excelFilePath)#获取excel sheet 名称,以list类型返回 sheet_nameread_content.sheet_names#获取a_sheet_name对应sheet的表格内容&…

FastStone Capture(FSCapture) 注册码

企业版序列号: name:bluman serial/序列号/注册码:VPISCJULXUFGDDXYAUYF FastStone Capture 注册码 序列号: name/用户名:TEAM JiOO key/注册码:CPCWXRVCZW30HMKE8KQQUXW USER NAME:TEAM_BRAiGHT…