【问题标题】:postinstall: cannot run in wd un in wd %s %s (wd=%s)安装后:无法在 wd %s %s (wd=%s) 中运行
【发布时间】:2017-08-28 09:47:30
【问题描述】:

npm WARN 生命周期 angular-seed-advanced@0.0.0~postinstall: 无法在 wd %s %s (wd=%s) 中运行 angular-seed-advanced@0.0.0 gulp check.versions && gulp build.bundle .rxjs && npm prune && gulp webdriver && npm run nativescript-install && node tools/install.js /Users/xxxx/Downloads/angular-seed-advanced-master

【问题讨论】:

    标签: angularjs npm gulp


    【解决方案1】:

    这个问题没有提供太多上下文,但我在运行时遇到了同样的问题

    npm install 
    

    在 Docker 容器中构建 Angular Seed Project。在我的情况下,这是由于以 root 权限运行 npm。

    要尝试解决此问题,请查看此answer

    对我有用的是:

    • 上述答案的选项1:

      npm install --unsafe-perm

    • 没有以 root 权限运行 npm

    【讨论】:

      猜你喜欢
      • 2013-08-10
      • 2021-12-24
      • 2022-06-14
      • 2014-11-02
      • 2014-05-28
      • 1970-01-01
      • 2019-01-28
      • 2014-02-14
      • 1970-01-01
      相关资源
      最近更新 更多