storybook: node-logger v3.4.10 won't install as @storybook/react dependency

Bug or support request summary

When trying to install a react library with storybook on an existing project I’m getting an error in the console saying no matching version is found for @storybook/node-logger@3.4.10. I’ve verified with multiple users.

marketingcontent_ -bash _95x39

Node Version: 8.11

Steps to reproduce

  • Make a new folder
  • Run npm i @storybook/react
  • See error output

test-logger_ -bash _121x43

  • Run npm view @storybook/node-logger ~ shows 3.4.8

test-logger_ -bash _121x51

Please specify which version of Storybook and optionally any affected addons that you’re running

Affected platforms

all

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 18
  • Comments: 18 (2 by maintainers)

Most upvoted comments

I had this issue when fetching the packages through artifactory, but not when going directly against the npm registry. There is a workaround available here: https://jfrog.com/knowledge-base/why-am-i-getting-404-for-some-npm-packages/

@igor-dv I think npm invalidated auth tokens which somehow affected downloading packages. I deleted my ~/.npmrc and it now works.

We do use artifactory, but we’re only using it as a local repo for some private packages (the above fix is for use as a remote proxy). I can confirm that the issue is with the _auth config set, but I’m at a loss as to how that’s mangling the installation of scoped packages on the public repo. I’ve tried across a range of yarn versions, with a number of config setups and have had no luck at all.