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'm building a Azure Static web app and it works fine but I want to use my private registry for NPM packages and can not get it to work or find documentation about how to do it.
Hello @persyl, for nodejs apps, we have a NPM_REGISTRY_URL setting key which allows you to specify custom NPM registry URL. Will be written to .npmrc during the build. Could you give it a try and see if it can resolve your issue?
Hello @persyl , Could you share what's the logs after you run this workflow? I want to know if the .npmrc file is being read or not. We'll add this issue to our backlogs.
Bug Report
I'm building a Azure Static web app and it works fine but I want to use my private registry for NPM packages and can not get it to work or find documentation about how to do it.
My private registry is at: https://pkgs.dev.azure.com/MY-ORG-NAME/_packaging/MY-NPM-FEED-NAME/npm/registry/
What happened?
Error 404 Not Found - GET https://registry.npmjs.org/MY-NPM-PACKAGE - Not found
What did you expect or want to happen?
To install MY-NPM-PACKAGE from https://pkgs.dev.azure.com/MY-ORG-NAME/_packaging/MY-NPM-FEED-NAME/npm/registry/ and NOT trying from https://registry.npmjs.org
I have a file .npmrc in the root
The text was updated successfully, but these errors were encountered: