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
patch-package is a dev dependency of the requestly-web-sdk. patch-package is run as part of the postinstall of that package.
If you try to install/build the MV2 in this package without previously installing patch-package like previously done here (removed here), you end up with build failures:
npmWARNdeprecatedhar-validator@5.1.5: thislibrary is nolongersupportednpmWARNdeprecatedsign-addon@5.3.0: Packagenolongersupported.ContactSupportat https://www.npmjs.com/support for more info.npmWARNdeprecateduuid@3.4.0: Pleaseupgradetoversion7orhigher.OlderversionsmayuseMath.random()incertaincircumstances,whichisknowntobeproblematic.See https://v8.dev/blog/math-random for details.npmWARNdeprecatedrequest@2.88.2: requesthasbeendeprecated,see https://github.com/request/request/issues/3142npmWARNdeprecatedcore-js@2.6.12: core-js@<3.23.3 is nolongermaintainedandnotrecommendedforusageduetothe number ofissues.BecauseoftheV8enginewhims,featuredetectioninoldcore-jsversionscouldcauseaslowdownupto100xevenifnothingispolyfilled.Someversionshavewebcompatibilityissues.Please,upgradeyourdependenciestotheactualversionofcore-js.npmERR!code127npmERR!path/Users/Mike.DiDomizio/projects/test/requestly/browser-extension/mv2/node_modules/@requestly/web-sdknpmERR!commandfailednpmERR!commandsh-cpatch-packagenpmERR! sh: patch-package: commandnotfoundnpmERR!Acompletelogofthisruncanbefoundin: /Users/Mike.DiDomizio/.npm/_logs/2024-04-27T00_36_53_182Z-debug-0.log
patch-package is also part of MV3 extension and the app package.
It also fails with MV3
It doesn't fail as part of the app package because it's patch-package is installed as part of the devDependencies
Repro steps
Ensure that you don't have patch-package installed as a global package
Clone this package
Run the ./install.sh
Expected Result:
Install packages successfully
Actual Result:
Fails when installing request-web-sdk with error command not found for patch-package
What Requestly tool were you using?
Extension
Desktop-App
Android SDK
Selenium
Your Environment
MacOS 14, Node 18.18.2, NPM 9.8.1
Requestly Version
1.0.3
Error screenshot
No response
The text was updated successfully, but these errors were encountered:
Describe your issue?
patch-package
is a dev dependency of therequestly-web-sdk
.patch-package
is run as part of thepostinstall
of that package.If you try to install/build the MV2 in this package without previously installing
patch-package
like previously done here (removed here), you end up with build failures:patch-package
is also part of MV3 extension and the app package.patch-package
is installed as part of the devDependenciesRepro steps
patch-package
installed as a global package./install.sh
Expected Result:
Actual Result:
request-web-sdk
with errorcommand not found
forpatch-package
What Requestly tool were you using?
Your Environment
MacOS 14, Node 18.18.2, NPM 9.8.1
Requestly Version
1.0.3
Error screenshot
No response
The text was updated successfully, but these errors were encountered: