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
I have added a dependency to the package.json file of a package that I'm patching, but this would never actually install that package properly, as the patching of the package.json file would happen after install, and by that time all relevant packages would be installed.
If I add npm install xyz with path to the package to the postinstall script, it would install all packages of the module, but would cause all sorts of errors in my app.
What would be the best way to patch a package adding a dependency to it in the process?
The text was updated successfully, but these errors were encountered:
I have added a dependency to the
package.json
file of a package that I'm patching, but this would never actually install that package properly, as the patching of the package.json file would happen after install, and by that time all relevant packages would be installed.If I add
npm install xyz
with path to the package to thepostinstall
script, it would install all packages of the module, but would cause all sorts of errors in my app.What would be the best way to patch a package adding a dependency to it in the process?
The text was updated successfully, but these errors were encountered: