Skip to content
Discussion options

You must be logged in to vote

Per the suggestion here, I added --host to the end of my dev script in package.json and that solved the problem. Very strange as port forwarding had been working fine without --host up until yesterday (I double checked the package.json files in previous Vite projects I built in codespaces and none of them had that). Something must have changed.

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@AliasHolmes
Comment options

@skifli
Comment options

@vincentmaxwell
Comment options

Answer selected by aaronrubinstein
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Codespaces Your development environment, in the cloud. Run VS Code and code on GitHub's cloud platform, Question Ask and answer questions about GitHub features and usage
9 participants