Issue with preinstall script #145149
Unanswered
lainermeister
asked this question in
npm
Replies: 1 comment 1 reply
-
Hi Elaine, Also here are some discussions on the topic: Hope this works :D |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I am trying to add an auth script that should run to get authentication to an internal package registry (in Google Artifact Registry). I would ideally like the script to run before
npm install
, so I put it in apreinstall
script. However, it doesn't seem like it runs before npm checks if we have permissions to install the package.Here is a video with more details:
https://drive.google.com/file/d/1Wax_g3HYpvKtHUI7f6rq75mr5bIN8Qvf/view?usp=sharing
Is this a known issue?
Thanks in advance for your help!
Elaine
Beta Was this translation helpful? Give feedback.
All reactions