mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -05:00
36ebc03f17
Refactors the lifecycle scripts code to extract out the common functionality and then uses that to provide a warning in the global resolver. While ideally we would still support them with the global cache, for now a warning is at least better than the status quo (where people are unaware why their packages aren't working).
11 lines
566 B
Text
11 lines
566 B
Text
Download http://localhost:4260/@denotest/node-addon
|
|
Download http://localhost:4260/node-gyp
|
|
[WILDCARD]
|
|
Warning The following packages contained npm lifecycle scripts (preinstall/install/postinstall) that were not executed:
|
|
┠─ npm:@denotest/node-addon@1.0.0
|
|
┃
|
|
┠─ This may cause the packages to not work correctly.
|
|
┖─ To run lifecycle scripts, use the `--allow-scripts` flag with `deno install`:
|
|
deno install --allow-scripts=npm:@denotest/node-addon@1.0.0
|
|
error: Uncaught (in promise) Error: Cannot find module './build/Release/node_addon'
|
|
[WILDCARD]
|