【问题标题】:How do I fix a npm WARN lifecycle error from Namecheap?如何修复来自 Namecheap 的 npm WARN 生命周期错误?
【发布时间】:2022-02-12 11:24:41
【问题描述】:

这是我在 Namecheap Cpanel 中运行 NPM install 时遇到的错误:

Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

我尝试在应用程序的根文件夹中添加一个名为 .npmrc 的文件,将这一行放入其中:

scripts-prepend-node-path=true

但这没有用。 有关如何解决此问题的任何想法?

【问题讨论】:

    标签: node.js npm hosting npm-install namecheap


    【解决方案1】:

    我必须通过 Namecheaps 终端/ssh 手动安装我的模块。

    【讨论】:

      猜你喜欢
      • 2017-12-27
      • 2021-07-10
      • 2020-11-01
      • 1970-01-01
      • 2018-07-11
      • 1970-01-01
      • 2013-09-04
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多