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
If your package is not private and you're publishing it on a registry like npmjs.com, you need to disable postinstall script using pinst. Otherwise, postinstall will run when someone installs your package and result in an error.
It had error when being installed no matter user uses yarn 1 or 2+ or npm.
Now after 8887dc8 where I installed pinst, everything is fine. I tested the installation of the package with npm, yarn v1 and yarn v2+, in ubuntu, win and node 12, 14, 16.
Using this template will publish a package.json that contains the following script:
"postinstall": "husky install",
This will also run when the published package is consumed.
Not sure if there is a step I'm missing, or if this is an fault with the template?
The text was updated successfully, but these errors were encountered: