moltin / js-sdk

JavaScript & Node.js SDKs for the Elastic Path Commerce Cloud eCommerce API
http://documentation.elasticpath.com/
MIT License
173 stars 77 forks source link

'@moltin/sdk' is not in the npm registry. #99

Closed danielpiedra closed 7 years ago

danielpiedra commented 7 years ago

i get this when trying to install this package, already tried a couple solutions that google mentioned but only thing working is doing "@moltin/sdk": "https://github.com/moltin/js-sdk.git" in package.json, not ideal though.

Any thoughts?

ynnoj commented 7 years ago

@danielpiedra Sorry you're having trouble. Are you able to share the install command you're using? I've just installed without any issues using npm install @moltin/sdk.

danielpiedra commented 7 years ago

@ynnoj Hi, I actually cloned this Moltin demo store based on create-react-app store and tried same npm install & npm install @moltin/sdk both with the same outcome.

Starting to think it's related to the repo I cloned from, could you confirm this happens to you too?

thanks!

ynnoj commented 7 years ago

@danielpiedra I just cloned that repo and did a fresh npm install with no problems.

What registry is your npm client looking at? Have you set a custom one in .npmrc?

danielpiedra commented 7 years ago

@ynnoj that was it, forgot recently I added _auth = .... always-auth = true to the user config, thanks for shining some light on this.

ynnoj commented 7 years ago

No problem, let me know if you encounter any issues or have any questions!