test-runner icon indicating copy to clipboard operation
test-runner copied to clipboard

[Bug] TypeError: (0 , _coreCommon.normalizeStories) is not a function

Open MichalFidor opened this issue 3 years ago • 2 comments

Describe the bug

Right after I run the command yarn test-storybook --url http://localhost:4400 this error appears. I have the storybook up and running.

Screenshot 2022-03-01 at 14 32 30

I was trying also with the stories.json file, so with the -s flag, but this returned another error: Screenshot 2022-03-01 at 14 34 03

Environment

  • OS: MacOs Monterey
  • Node.js version: 14.17.5
  • NPM version: 6.14.4

Additional context

We are using the nrwl plugin for storybook - @nrwl/storybook in version 12.9.0 (unfortunately I can't update it at the moment).

I'm curious if it's a version issue like I need to update to the newest one? Because it's no matter if I provide a config path or not, the output is the same.

MichalFidor avatar Mar 01 '22 13:03 MichalFidor

I am running into the same bug.

Screenshots and/or logs

image

Environment

  • OS: Windows 10
  • Node.js version: 14.19.0

Additional context

We are using @storybook/vue in version 6.3.8.

RobertHaslinger avatar Mar 08 '22 12:03 RobertHaslinger

@RobertHaslinger The test runner requires 6.4 and above. You can upgrade with:

npx sb upgrade

shilman avatar Mar 21 '22 00:03 shilman