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
Cannot run development server in Windows 10 #1062
Comments
Transferring this issue to preact-cli |
You can use The problem is in the template: preactjs-templates/default#36 |
Same issue here #1115 |
The solution by @benhormann has worked for me. Would it be possible to add this bypass to the preact-cli readme? I can submit a pull requested if this is wanted. |
We talked about briefly internally and think we can just remove If you want to make a PR, feel free |
I can work in a PR for this |
I have submitted a pull request removing per-env from package.json and replacing "start" with "preact watch" preactjs-templates/default#40 Please let me know if anything else needs to be done. |
Thanks for the PRs @daniel-sudz 🎉 |
Should now be fixed in all templates |
I Installed a vanilla global preact-cli installation on Windows 10 2004 using Node.js v12.16.1.
npm install -g preact-cli
I used the following command to create a new preact app for my blog:
preact.cmd create default blog
And then I ran the following command to start a live server for development:
npm run start
At this moment, I expected that the server would show up, but instead, the following text is printed to my powershell console:
And nothing happens, I'm unsure if this is a preact or preact-cli issue, I can open in preact-cli if needed.
The text was updated successfully, but these errors were encountered: