首页 > 其他分享 >使用git cz 时报模块找不到 使用commitizen init cz-conventional-changelog --save --save-exact --force 又报下面错 头晕

使用git cz 时报模块找不到 使用commitizen init cz-conventional-changelog --save --save-exact --force 又报下面错 头晕

时间:2023-02-27 17:47:43浏览次数:42  
标签:node npm ERR commitizen -- modules cz save

使用git cz 时报模块找不到 使用commitizen init cz-conventional-changelog --save --save-exact --force 又报下面错 头晕

Attempting to initialize using the npm package cz-conventional-changelog
npm WARN using --force Recommended protections disabled.
npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path D:\npm18\node_modules\.commitizen-CiP8enB1
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, mkdir 'D:\npm18\node_modules\.commitizen-CiP8enB1'
npm ERR! [Error: EPERM: operation not permitted, mkdir 'D:\npm18\node_modules\.commitizen-CiP8enB1'] {
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'mkdir',
npm ERR! path: 'D:\\npm18\\node_modules\\.commitizen-CiP8enB1'
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.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\HF034\AppData\Local\npm-cache\_logs\2023-02-27T09_24_41_721Z-debug-0.log
Error: Command failed: npm install cz-conventional-changelog --save-dev --force
npm WARN using --force Recommended protections disabled.
npm ERR! code EPERM
npm ERR! syscall mkdir
npm ERR! path D:\npm18\node_modules\.commitizen-CiP8enB1
npm ERR! errno -4048
npm ERR! Error: EPERM: operation not permitted, mkdir 'D:\npm18\node_modules\.commitizen-CiP8enB1'
npm ERR! [Error: EPERM: operation not permitted, mkdir 'D:\npm18\node_modules\.commitizen-CiP8enB1'] {
npm ERR! errno: -4048,
npm ERR! code: 'EPERM',
npm ERR! syscall: 'mkdir',
npm ERR! path: 'D:\\npm18\\node_modules\\.commitizen-CiP8enB1'
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.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\HF034\AppData\Local\npm-cache\_logs\2023-02-27T09_24_41_721Z-debug-0.log

at checkExecSyncError (node:child_process:885:11)
at Object.execSync (node:child_process:957:15)
at init (D:\npm18\node_modules\commitizen\dist\commitizen\init.js:1024:28)
at Object.bootstrap (D:\npm18\node_modules\commitizen\dist\cli\commitizen.js:30:30)
at Object.<anonymous> (D:\npm18\node_modules\commitizen\bin\commitizen.js:2:38)
at Module._compile (node:internal/modules/cjs/loader:1275:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1329:10)
at Module.load (node:internal/modules/cjs/loader:1133:32)
at Module._load (node:internal/modules/cjs/loader:972:12) {
status: 4294963248,
signal: null,

标签:node,npm,ERR,commitizen,--,modules,cz,save
From: https://www.cnblogs.com/zhg1016/p/17160602.html

相关文章

  • 制造业常用KPI
    1. 质量KPICA(CapabilityofAccuracy):平均值距离期望中心值的距离,值越大,说明平均值越接近期望中心值。Ca=(X-U)/(T/2)CP(Capabilityofprecision):衡量参数值分......
  • 代码冲突解决方法
    ps:push代码前最好先pull一次1、遇到代码冲突无法提交代码时,先进行pull操作,然后查看出现冲突的文件,文件中出现<<<<<<<   >>>>>>>,尖括号中间的内容就是冲突内容,将该内......
  • topN算法问题
    问题:如何在10亿个整数中找出前1000个最大的数?小顶堆堆排序首先,我们需要构建一个大小为N(1000)的小顶堆,小顶堆的性质如下:每一个父节点的值都小于左右孩子节点,然后依次从......
  • 助教总结(前端开发技术)
    一、助教工作的具体职责和任务  在本学期担任阴爱英老师的软工专业21级前端开发技术这门课程的助教主要完成以下几个方面的任务:    1、对本门课的大作业————......
  • Caffeine - 实际案例:为什么要引入Caffeine本地缓存
    问题背景情景分析服务,老版本里会每次查询/翻页,均会重新请求一次。每次请求都会涉及到重新查询permission的工作。permission信息,是scenarioService通过grpc调用faneDataS......
  • 字符串根据逗号拆分转list
    Stringpath="123,456,789"if(path!=null&&path.indexOf(",")!=-1){String[]array=path.split(",");List<String>list=Arrays.asList(array);}/***逗号......
  • JS 判断数组对象中某个字段有无重复
    判断一个数组中对象中,某个字段是否有重复1.使用setmap实现letarr=[{name:'zhang',id:'1001'},{nmae:'li',id:'1001'}]//判断id是否重复//返回一个id......
  • Linux系统实时监控
    命令top  Top命令用于实时显示process的动态。参数如下:  d:设置显示的更新速度  q:无延迟的显示速度  c:切换显示模式,一共有两种显示模式,一是只显示执行档,另一......
  • spring aop切面说明
    execution:处理JoinPoint的类型,例如call、execution(*android.app.Activity.on**(..)):这个是最重要的表达式,第一个*表示返回值,*表示返回值为任意类型,后面这个就是典型的......
  • 用dask并行把大量文本数据读入numpy并分批保存
    导入包importnumpyasnpimportosimportdask看看文件格式和file_list=os.listdir('train_data')print(len(file_list))print(file_list[:100])delayed读......