Closed jkleiser closed 2 years ago
It was because the webpack dev server serves static content from the public folder now. Please update the webpack.config.js by adding the static option.
devServer: {
open: true,
static: path.join(__dirname),
},
I will update the CLI to support the public folder.
Thanks a lot. I went for this other variant instead: npx apprun --init --esbuild
. It gives me a simpler app, but maybe that's all I need for now.
It's quite some time now since I started on a new project. It feels good. I'm curious to see how it turns out.
Thank you for your long-time support!
Fixed in 3.28.8
I just made a new app by doing
npx apprun --init --spa
. When I try to run it withnpm start
, I getCannot GET /
in my browser. Has that got something to do with this message I got while installing:I'm using node v16.13.1 and npm v8.1.2.