npm 的是报错 @XXXXX postinstall 处理
使用 --ignore-scripts 安装 (先把某个报错的包单独安装) npm install @chatie/git-scripts@0.2.5 --ignore-scripts
D:\test\wechaty-puppet-padpro>npm install > git-scripts@0.4.3 postinstall D:\test\wechaty-puppet-padpro\node_modules\git-scripts > node bin/install Not a git repository. > @chatie/git-scripts@0.2.5 postinstall D:\test\wechaty-puppet-padpro\node_modules\@chatie\git-scripts > bash scripts/install.sh 'bash' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 npm WARN wechaty-puppet-hostie@0.3.36 requires a peer of wechaty-puppet@^0.21.12 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.2.3 requires a peer of bufferutil@^4.0.1 but none is installed. You must install peer dependencies yourself. npm WARN ws@7.2.3 requires a peer of utf-8-validate@^5.0.2 but none is installed. You must install peer dependencies yourself. npm WARN wechaty-puppet@0.17.25 requires a peer of file-box@^0.10.6 but none is installed. You must install peer dependencies yourself. npm WARN @typescript-eslint/parser@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN @typescript-eslint/eslint-plugin@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself. npm WARN @typescript-eslint/eslint-plugin-tslint@1.13.0 requires a peer of eslint@^5.0.0 but none is installed. You must install peer dependencies yourself. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @chatie/git-scripts@0.2.5 postinstall: `bash scripts/install.sh` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @chatie/git-scripts@0.2.5 postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! D:\LearnNode\nodejs\node_cache\_logs\2020-03-27T12_21_52_646Z-debug.log D:\test\wechaty-puppet-padpro>npm -v
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· DeepSeek 开源周回顾「GitHub 热点速览」