mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 08:10:44 +00:00
fix(plugins): ignore inherited npm dry-run for runtime deps
This commit is contained in:
@@ -450,6 +450,7 @@ export function createNestedNpmInstallEnv(env = process.env) {
|
||||
export function createBundledRuntimeDependencyInstallEnv(env = process.env) {
|
||||
return {
|
||||
...createNestedNpmInstallEnv(env),
|
||||
npm_config_dry_run: "false",
|
||||
npm_config_legacy_peer_deps: "true",
|
||||
npm_config_package_lock: "false",
|
||||
npm_config_save: "false",
|
||||
|
||||
@@ -885,6 +885,7 @@ function runNpmInstall(params) {
|
||||
...(params.npmRunner.env ?? process.env),
|
||||
CI: "1",
|
||||
npm_config_audit: "false",
|
||||
npm_config_dry_run: "false",
|
||||
npm_config_fund: "false",
|
||||
npm_config_legacy_peer_deps: "true",
|
||||
npm_config_loglevel: "error",
|
||||
|
||||
Reference in New Issue
Block a user