c8r / x0

Document & develop React components without breaking a sweat

Home Page:https://compositor.io/x0/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dev server not working for me...what am I doing wrong?

rchrdnsh opened this issue · comments

so, I followed the steps up to starting the dev server by typing:

x0 docs --open

...but I get an error in the terminal in VS Code:

screenshot 2018-08-03 07 58 54

...so I'm not sure what to do next. Nothing is running in the terminal and nothing is running at localhost:8080 either.

¯_(ツ)_/¯

Looks like you might need to cd back a level (cd ..)? Seems like its trying to find Code/x0/docs/docs which makes it sound you might already be in the docs directory.

hmmmm...that worked, although...

it would be chill to be able to start up a dev server from within the project folder as well.

I tried running:

x0 -o

thinking that would work, but it didn't :-(

but in any case, it's working now, so thank you :-)