zoukankan      html  css  js  c++  java
  • npm 的是报错 @XXXXX postinstall 处理

     使用 --ignore-scripts 安装 (先把某个报错的包单独安装)
    
    npm install @chatie/git-scripts@0.2.5 --ignore-scripts






    D:	estwechaty-puppet-padpro>npm install
    
    > git-scripts@0.4.3 postinstall D:	estwechaty-puppet-padpro
    ode_modulesgit-scripts
    > node bin/install
    
    Not a git repository.
    
    > @chatie/git-scripts@0.2.5 postinstall D:	estwechaty-puppet-padpro
    ode_modules@chatiegit-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
    odejs
    ode_cache\_logs2020-03-27T12_21_52_646Z-debug.log
    
    D:	estwechaty-puppet-padpro>npm -v
  • 相关阅读:
    androidstudio配置http proxy以及配置gradle
    发布jar到docker的方法
    idea直接发布项目到docker中
    安卓启动相机报错android.os.FileUriExposedException: file:///storage/emulated/0/
    centos 7.4搭建Harbor、push docker镜像以及常见错误
    dock的卸载与安装
    centos部署Kubernetes(k8s)集群
    Logback将日志输出到Kafka配置示例
    JavaScript设计模式 Item 5 --链式调用
    你不知道的JavaScript--Item27 异步编程异常解决方案
  • 原文地址:https://www.cnblogs.com/panjinzhao/p/12584448.html
Copyright © 2011-2022 走看看