npm create triplit-app has network issues
tkoop opened this issue · 2 comments
tkoop commented
I ran this:
npm create triplit-app
I picked Vue and called the project triplit3
cd triplit3
npm install
npm run dev
This started the local server, but when I went to http://localhost:5173/ the page showed it was offline, and the JavaScript console showed this:
wernst commented
There should be some additional instructions on that page. I can see how one might miss that as it's not in the CLI output. Did you run npx triplit dev
? That should run a local development server at localhost:6543
which the Triplit client should connect to.
tkoop commented
Yup, npx triplit dev
fixed it. Thanks.
I agree that this should be mentioned on that page.