Navigation Menu

Skip to content
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

Cannot read property 'includes' of undefined storybook-configuration #9702

Closed
guyindepurker opened this issue Apr 6, 2022 · 7 comments · Fixed by #9707
Closed

Cannot read property 'includes' of undefined storybook-configuration #9702

guyindepurker opened this issue Apr 6, 2022 · 7 comments · Fixed by #9707
Assignees
Labels
outdated scope: storybook Issues related to Storybook support in Nx type: bug

Comments

@guyindepurker
Copy link

Current Behavior

adding .storybook folder to the root directory - based on the Storybook version installed (v6), we'll bootstrap a scaffold for that particular version. adding .storybook folder to app - using Storybook version 6 Cannot read property 'includes' of undefined
Screen Shot 2022-04-06 at 11 26 36

Expected Behavior

I want that the storybook successfully created

Steps to Reproduce

I am already upgrade the nx env to 13.9.7 from 13.8.5
And it not fix the problem.

Failure Logs

adding .storybook folder to the root directory - based on the Storybook version installed (v6), we'll bootstrap a scaffold for that particular version. adding .storybook folder to app - using Storybook version 6 Cannot read property 'includes' of undefined

Environment

Node : 14.19.0
OS : darwin x64
npm : 6.14.16

nx : 13.9.7
@nrwl/angular : Not Found
@nrwl/cypress : 13.9.7
@nrwl/detox : Not Found
@nrwl/devkit : 13.9.7
@nrwl/eslint-plugin-nx : 13.9.7
@nrwl/express : 13.9.7
@nrwl/jest : 13.9.7
@nrwl/js : 13.9.7
@nrwl/linter : 13.9.7
@nrwl/nest : Not Found
@nrwl/next : Not Found
@nrwl/node : 13.9.7
@nrwl/nx-cloud : Not Found
@nrwl/nx-plugin : Not Found
@nrwl/react : 13.9.7
@nrwl/react-native : Not Found
@nrwl/schematics : Not Found
@nrwl/storybook : 13.9.7
@nrwl/web : 13.9.7
@nrwl/workspace : 13.9.7
typescript : 4.5.5
rxjs : 6.6.7

@mandarini mandarini self-assigned this Apr 6, 2022
@mandarini mandarini added the scope: storybook Issues related to Storybook support in Nx label Apr 6, 2022
@mandarini
Copy link
Member

Hey I thought we fixed that!!!! I'll look into it again

mandarini added a commit to mandarini/nx that referenced this issue Apr 6, 2022
@mandarini
Copy link
Member

Yea, I thought that would have fixed it, but no. So I chained all includes to make sure.

@guyindepurker
Copy link
Author

guyindepurker commented Apr 6, 2022

Yea, I thought that would have fixed it, but no. So I chained all includes to make sure.

Ok so what i need to do right now? @mandarini

@mandarini
Copy link
Member

@guyindepurker Oh, right. First the PR needs to be merged. Then, you would have to update to the version of Nx that will contain this code (most probably 13.10).

mandarini added a commit to mandarini/nx that referenced this issue Apr 6, 2022
mandarini added a commit that referenced this issue Apr 6, 2022
@JosepSalvat
Copy link

@mandarini Still happening. I've tried to create the storybook and says the same.
After using: nx g @nrwl/react:storybook-configuration project-name ofc I changed the project-name :D

Upgraded from 13.4 to 13.10.1 and still happening

@mandarini
Copy link
Member

@JosepSalvat can you send me a reproduction repo, plz? And plz can you run nx report and send me the result?

@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated scope: storybook Issues related to Storybook support in Nx type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants