当前位置: 首页 > news >正文

网站开发流程图解释含义dz网站地图怎么做

网站开发流程图解释含义,dz网站地图怎么做,公司概况简介,廊坊网站关键词优化title: npm镜像源证书过期 search: 2024-02-29 文章目录 Failed to check for updates 问题ERR_PNPM_NO_PKG_MANIFESTnpm缓存清除指令权限不足导致删除不了解决方案npm创建基础配资文件 Failed to check for updates 问题 错误描述如上 检查完 node,vue,npm 的版本后都没啥问… title: npm镜像源证书过期 search: 2024-02-29 文章目录 Failed to check for updates 问题ERR_PNPM_NO_PKG_MANIFESTnpm缓存清除指令权限不足导致删除不了解决方案npm创建基础配资文件 Failed to check for updates 问题 错误描述如上 检查完 node,vue,npm 的版本后都没啥问题尝试更新脚手架 使用指令 #npm脚手架更新 pnpm update -g vue/cli出现问题如下 ERR_PNPM_NO_PKG_MANIFEST 这个是报错类型编号 这个报错是没有找到 package.json 的文件我当时没仔细看就尝试重新安装 pnpm #pnpm更新安装 npm install pnpm -g出现报错 npm ERR! code CERT_HAS_EXPIRED npm ERR! errno CERT_HAS_EXPIRED npm ERR! request to https://registry.npm.taobao.org/pnpm failed, reason: certificate has expirednpm ERR! Log files were not written due to an error writing to the directory: D:\Nodejavascript\node_cache\_logs npm ERR! You can rerun the command with --loglevelverbose to see the logs in your terminal在这里已经很明显了报错提示是 #reasoncertificate_has_expired 就是说目前我的镜像网站证书过期了我觉得很牛逼连淘宝自己提供的镜像源网站都不去管管证书的嘛来自我复盘的吐槽 当时认为是不是自己的问题进行 npm 缓存清除操作 npm缓存清除指令 npm cache clean --force出现第二个报错 PS D:\front-end\untitled2 npm cache clean --force npm WARN using --force Recommended protections disabled. npm ERR! code EPERM npm ERR! syscall rmdir npm ERR! path D:\Nodejavascript\node_cache\_cacache\tmp npm ERR! errno -4048 npm ERR! Error: EPERM: operation not permitted, rmdir D:\Nodejavascript\node_cache\_cacache\tmp npm ERR! errno: -4048, npm ERR! code: EPERM, npm ERR! syscall: rmdir, npm ERR! path: D:\\Nodejavascript\\node_cache\\_cacache\\tmp npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! Its 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! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator.npm ERR! Log files were not written due to an error writing to the directory: D:\Nodejavascript\node_cache\_logs npm ERR! You can rerun the command with --loglevelverbose to see the logs in your terminal其实这个也说的很清楚ErrorEPERMoperation not permittedrmdir ‘D:\Nodejavascript\node_cache\_cacache\tmp’ 就是说没有权限删除这个问题一般有几种解决思路 权限不足导致删除不了解决方案 如果是在C盘的文件遇到权限不足建议移出C盘因为C盘的权限是一个迷很容易出现奇奇怪怪的权限问题如果是在其他盘直接开管理员权限运行就可以了 之后明白可能是证书和权限的问题就打算随便执行一下依赖更新操作检验一下是否可用 #npm依赖更新指令 npm install然后给我直接报错了 #没有package的Json文件报错 PS D:\front-end\untitled2 npm install npm ERR! code ENOENT npm ERR! syscall open npm ERR! path D:\front-end\untitled2/package.json npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file or directory, open D:\front-end\untitled2\package.json npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoentnpm ERR! Log files were not written due to an error writing to the directory: D:\Nodejavascript\node_cache\_logs npm ERR! You can rerun the command with --loglevelverbose to see the logs in your terminal Wrote to D:\front-end\untitled2\package.json:npm创建基础配资文件 npm init -y这样就默认创建了一个简单的 package.json 文件 ok! 到此为止就基本上将边角问题解决了后续考虑解决问题是否应该切换一个数据源的问题 #npm检查设置远程仓库指令 npm config get registry得到域名 https://npm.taobao.org去网上搜淘宝那个npm 改名了 https://npmmirror.com/最新的是这个我真的心情复杂。 设置一下全局镜像源配置就行了最后完成目的的指令是 npm config set registryhttps://npmmirror.com/如果出现以下这种错误就是说明镜像源太落后了不匹配 PS D:\front-end\untitled3 npm install npm ERR! code ETARGET npm ERR! notarget No matching version found for vue/server-renderer3.4.21. npm ERR! notarget In most cases you or one of your dependencies are requesting npm ERR! notarget a package version that doesnt exist. npm ERR! A complete log of this run can be found in: D:\Nodejavascript\node_cache\_logs\2024-02-29T04_10_05_694Z-debug-0.log PS D:\front-end\untitled3 npm config set npm ERR! code EUSAGE npm ERR!主要从这几句话可以看出 notarget No matching version found for vue/server-renderer3.4.21 这个是之前我换华为云的镜像服务器之后出现的问题最后实在不行了换回了 https://npmmirror.com/ 这个域名 从此解决 npm 无法使用问题
http://www.zqtcl.cn/news/307997/

相关文章:

  • 网站开发比较厉害wordpress中文 插件
  • 文化投资的微网站怎么做个人微信公众号如何推广
  • 单位的网站怎样设计才美观网页设计图片的代码
  • 长沙专业做网站排名济南手机网站定制费用
  • 西安专题门户响应式网站建设系统网站有哪些
  • 山东省建设局网站监理员考试asp.net mvc6电商网站开发实践
  • 做网站需要提供什么资料网站备案是什么意思
  • 河南网站建设及推广东莞百度代做网站联系方式
  • 大型企业网站制作浦东新区做网站
  • 简单大气网站源码织梦怎么用框架实现在浏览器的地址栏只显示网站的域名而不显示出文件名
  • 电子商务型网站建设线上推广营销策划
  • 网站建设管理工作情况的通报网站开发vs设计报告
  • 嘉定网站网站建设公司官网制作
  • 做旅游广告在哪个网站做效果好财经网站建设
  • 网站样式下载网站地图定位用什么技术做
  • 自己做网站怎么做的百中搜优化软件
  • 南宁建站平台与网站建设相关的论文题目
  • 足球网站建设意义做股权众筹的网站
  • 北京网站建设设计一流的锦州网站建设
  • 专业手机移动网站建设什么网站可以做期刊封面
  • cms建站系统哪个好网站建设 柳州
  • 安徽省住房与城乡建设部网站八戒电影在线观看免费7
  • 江苏省建设考试网站准考证打印佛山网站建设锐艺a068
  • 展示型网站功能如何设计网站风格
  • wordpress图床网站网站什么时候做等保
  • 怎么创办网站浅谈博物馆网站建设的意义
  • 如何做擦边球网站网站seo规划
  • 建站知乎做网站销售工资
  • 仙居住房和城乡建设局网站用手机看网站源代码
  • 网架加工厂家seo关键词优化推广报价表