-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install fails with 401 #9
Comments
I felt uneasy about updating the dependencies outside of the ones you released in package-lock.json. I updated the spartacus dependencies to use the urls and checksums from the RBSC. I'm still able to run 'npm install' successfully. It may be good to update the readme with instructions for building this for non-SAP employees. Here's the output from gitdiff for those sections
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While following the instructions in the readme to run 'npm install' under the projects/visualsearch folder, I encounter a 401 error when trying to pull spartacus/user from https://common.repositories.cloud.sap/artifactory/api/npm/deploy-releases-hyperspace-npm/@spartacus/user/-/@spartacus/user-5.2.1.tgz. This is due to common.repositories.cloud.sap being a private repository.
I am able to resolve this error if i configure a .npmrc file with information to connect to RBSC per the Composable Storefront instructions, delete the package-lock.json file and run npm install again.
Is this the correct way to build this package?
The text was updated successfully, but these errors were encountered: