-
-
Notifications
You must be signed in to change notification settings - Fork 58
Using with pnpm
Eugene Lazutkin edited this page May 13, 2025
·
1 revision
When running with pnpm
it is normal to get a warning like this:
dependencies:
+ re2 1.21.5
╭ Warning ───────────────────────────────────────────────────────────────────────────────────╮
│ │
│ Ignored build scripts: re2. │
│ Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts. │
│ │
╰────────────────────────────────────────────────────────────────────────────────────────────╯
Just run the suggested command pnpm approve-builds
, select re2
and confirm that you want to build it:
$ pnpm approve-builds
✔ Choose which packages to build (Press <space> to select, <a> to toggle all, <i> to invert selection) · re2
✔ The next packages will now be built: re2.
Do you approve? (y/N) · true
node_modules/.pnpm/re2@1.21.5/node_modules/re2: Running install script, done in 6.4s