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

Storybook running in browser and VSCode tab but not in explorer view... #29

Open
pkreipke opened this issue May 16, 2018 · 8 comments
Open

Comments

@pkreipke
Copy link

I know the storybook server is working and running: can connect via browser fine - and "Show StoryBook Tab" shows the same browser view inside VSCode.

But what I also have is an empty Storybook section in the Explorer sidebar.

What could I be doing wrong?

@orta
Copy link
Owner

orta commented May 16, 2018

Port?

@pkreipke
Copy link
Author

This is in my vscode User settings and works from VSCode Storybook tab and from a browser.

"react-native-storybooks.host": "localhost",
"react-native-storybooks.port": 7007,

Aside: would prefer them in my Folder settings but trying to eliminate suspects.

@SrujithPoondla
Copy link

+1
Same issue

@ohtangza
Copy link

I am experiencing the same issue with @pkreipke. Any clue?

@techieshark
Copy link

Same issue, though this is on a standard react (not React Native) project.

Was pleased to see Storybook tab shows the localhost storybook website. Should it also be able to show stories in the explorer pane? My stories are in src/stories/SomeComponent.story.js and I have these in vscode user settings:

"react-native-storybooks.port": 9009,
"react-native-storybooks.storyRegex": "**src/stories/*.story.*",

@jinshin1013
Copy link

jinshin1013 commented Nov 12, 2018

Is this an ongoing discussion? Can't seem to find a solution for this problem. The storybook tab on the Explorer disappeared and seems like there isn't a way to bring it back.

EDIT:
Nevermind, I was able to bring it back with Expand stories in Storybook Explorer command.

@pke
Copy link

pke commented May 11, 2020

Yes this seems to be still an issue. Can't get it to run (with a native Android device).
Custom port is set to 9001 and works with storybook browser.

@ankitjaiswal1994
Copy link

+1 still not showing on VS Code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants