You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using pnpm to install package.
Shell "ffprobe" will be download at ~/{projectPath}/node_modules/.pnpm/@ffprobe-installer+ffprobe@2.1.0/node_modules/@ffprobe-installer/darwin-arm64
As you can with the picture below, shell ffprobe permission did not change with the script postinstall
I believe that it comes from pnpm v7 change: default open 「side-effects-cache」
And here is pnpm issue reference.
Solution
Add side-effects-cache=false in the .npmrc should work.
But it will let us losing some benefit of using pnpm.
The text was updated successfully, but these errors were encountered:
@SavageCore It seems like it can not work on the inner module.
But it works fine on the root project's .npmrc.
Maybe we can mention this solution for pnpm users at the README.
Enviroment
OS: Mac M1 Max Ventura 13.2.1
node: 18.14.2
package manager: pnpm 8.5.1
package version: 2.1.0
Reproduce
Context
When using pnpm to install package.
Shell "ffprobe" will be download at
~/{projectPath}/node_modules/.pnpm/@ffprobe-installer+ffprobe@2.1.0/node_modules/@ffprobe-installer/darwin-arm64
As you can with the picture below, shell ffprobe permission did not change with the script postinstall
I believe that it comes from pnpm v7 change: default open 「side-effects-cache」
And here is pnpm issue reference.
Solution
Add
side-effects-cache=false
in the .npmrc should work.But it will let us losing some benefit of using pnpm.
The text was updated successfully, but these errors were encountered: