You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah this has to do with package resolution I think. I locked the vinxi in the examples to fix a bug but not in start itself and it must not match up properly causing the issue. Now that I've unlocked again I'm hoping this is fixed..
Duplicates
Latest version
Current behavior 😯
When I run
npm create-solid@latest
the CLI produces an application that, when using thecloudflare-pages
preset can't be deployed on Cloudflare Pages.Trying to run the application via
wrangler pages dev
or deploy it viawrangler pages deploy
produces the following error:PS: this seems to be a regression as this error was present before, fixed and now has come back, see: #1217
Expected behavior 🤔
The generated application should be deployable to Cloudflare Pages.
Steps to reproduce 🕹
Steps:
npx create-solid@latest
cd <your-solid-project>
npm install
SERVER_PRESET=cloudflare-pages npm run build
(instead of using
SERVER_PRESET
you can update theapp.config.(js/ts)
file accordingly)npx wrangler pages dev dist/
Screenshots of my terminal when running the above steps
Context 🔦
Note
this seems to only happen with
npm
, I did trypnpm
and it didn't present the same issueYour environment 🌎
The text was updated successfully, but these errors were encountered: