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

compdoc fails to run storybook for windows 10 #17569

Closed
Kiran-gowdaa opened this issue Feb 24, 2022 · 2 comments
Closed

compdoc fails to run storybook for windows 10 #17569

Kiran-gowdaa opened this issue Feb 24, 2022 · 2 comments

Comments

@Kiran-gowdaa
Copy link

When trying to run storybook with yarn storybook in windows 10 machine, an unexpected error is thrown up:

PS C:\Users\Chandra Revanna\editor> yarn storybook
yarn run v1.22.15
$ ng run cioplenu:storybook
compodoc -p .storybook/tsconfig.json -d C:\Users\Chandra Revanna\editor -e json

                                                             
                                                             
                                                             
                                                                                 
                                                                           
                                                                           
                                                                           
                                                                                 
                                   
                                   
                                   


1.1.18

TypeScript version used by Compodoc : 4.5.5

Node.js version : v14.18.0


Operating system : Windows 10



[17:35:40]
No configuration file found, switching to CLI flags.

[17:35:40] Provided source folder Revanna\\editor was not found in the current directory

An unexpected error occurred: undefined
error Command failed with exit code 1.

Machine: Windows 10
Angular version: 13.1.0
StoryBook version: 6.4.19

@cherezovvv
Copy link

https://compodoc.app/guides/usage.html

Options, quotes and Windows usage
Keep in mind that using options with multiple words need quotes around your sentence.

In your case you need to wrap the value of parameter -d in quotes
compodoc -p .storybook/tsconfig.json -d "C:\Users\Chandra Revanna\editor" -e json

@shilman
Copy link
Member

shilman commented May 11, 2023

I'm pretty sure this is all working properly on the most recent version of Storybook (7.0.x). Closing this for now but please let me know if it's still an issue.

@shilman shilman closed this as completed May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants