Using with pnpm - uhop/node-re2 GitHub Wiki
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/[email protected]/node_modules/re2: Running install script, done in 6.4s