Closed mtoman closed 1 year ago
The unsafe-perm config option has been dropped in npm 9, trying to set it ends with an error and therefore fails the build. With this patch the build script parses the major version from npm --version and only sets unsafe-perm on npm 8 and older.
unsafe-perm
npm
npm --version
[klutchell] This has attached https://jel.ly.fish/7397ca2b-7352-48be-9fad-265261450704
lgtm
The
unsafe-perm
config option has been dropped innpm
9, trying to set it ends with an error and therefore fails the build. With this patch the build script parses the major version fromnpm --version
and only setsunsafe-perm
onnpm
8 and older.