diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-07-11 12:41:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-11 16:41:42 +0000 |
commit | f950f599833172048cbbc6d64d3c2fc50b3b3e9a (patch) | |
tree | 29ef0175b525f3d7e37746a690aa64262318ee14 /tests/specs/npm/lifecycle_scripts/only_warns_first1.out | |
parent | de30f7c1884d8392dd956dce0d0627d5f94562e3 (diff) |
fix(npm): only warn about lifecycle scripts not being run when setting up directory (#24530)
Closes #24518
Diffstat (limited to 'tests/specs/npm/lifecycle_scripts/only_warns_first1.out')
-rw-r--r-- | tests/specs/npm/lifecycle_scripts/only_warns_first1.out | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/specs/npm/lifecycle_scripts/only_warns_first1.out b/tests/specs/npm/lifecycle_scripts/only_warns_first1.out new file mode 100644 index 000000000..6ebf96028 --- /dev/null +++ b/tests/specs/npm/lifecycle_scripts/only_warns_first1.out @@ -0,0 +1,14 @@ +[UNORDERED_START] +Download http://localhost:4260/@denotest/node-lifecycle-scripts +Download http://localhost:4260/@denotest/bin +Download http://localhost:4260/@denotest/node-lifecycle-scripts/1.0.0.tgz +Download http://localhost:4260/@denotest/bin/1.0.0.tgz +Initialize @denotest/node-lifecycle-scripts@1.0.0 +Initialize @denotest/bin@1.0.0 +[UNORDERED_END] +warning: Packages contained npm lifecycle scripts (preinstall/install/postinstall) that were not executed. + This may cause the packages to not work correctly. To run them, use the `--allow-scripts` flag with `deno cache` + (e.g. `deno cache --allow-scripts=pkg1,pkg2 <entrypoint>`): + npm:@denotest/node-lifecycle-scripts@1.0.0 +error: Uncaught SyntaxError: The requested module 'npm:@denotest/node-lifecycle-scripts' does not provide an export named 'value' +[WILDCARD] |