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
I'm getting errors from vite:define in solid-start-cloudflare-pages@0.3.10 with Vite 5:
user@MBP my-project % pnpm build
> my-solid-app@0.1.0 build /Users/user/my-project
> solid-start build
solid-start build
version 0.3.10
(node:93293) ExperimentalWarning: The Ed25519 Web Crypto API algorithm is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
adapter cloudflare-pages
solid-start building client...
vite v5.0.4 building for production...
✓ 4 modules transformed.
[vite:define] Transform failed with 1 error:
error: Invalid define value (must be an entity name or valid JSON syntax): (() => {})
file: /Users/user/my-project/node_modules/.pnpm/solid-start@0.3.10_@solidjs+meta@0.29.1_@solidjs+router@0.9.1_solid-js@1.8.6_solid-start-clou_ykgf2egikbvfaqjxxzhhreqmsa/node_modules/solid-start/entry-client/mount.tsx
🐼 error [❌] Transform failed with 1 error:
error: Invalid define value (must be an entity name or valid JSON syntax): (() => {})
Expected behavior 🤔
Successful build.
Steps to reproduce 🕹
Steps:
Context 🔦
No response
Your environment 🌎
No response
The text was updated successfully, but these errors were encountered:
In setting up for SolidStart's next Beta Phase built on Nitro and Vinxi we are closing all PRs/Issues that will not be merged due to the system changing. If you feel your issue was closed by mistake. Feel free to re-open it after updating/testing against 0.4.x release. Thank you for your patience. See #1139 for more details.
and in the Cloudflare pages Build configurations, the "Build output directory" is configured to /.output since this is the folder I see when building the project locally.
There is also a .vinxi/build folder generated. Tried setting the "Build output directory" to either of that but to no avail.
Could you please point what's wrong in the configuration or point me to the docs.
Duplicates
Latest version
Current behavior 😯
Reposting solidjs/vite-plugin-solid#127 (comment)
I'm getting errors from
vite:define
insolid-start-cloudflare-pages@0.3.10
with Vite 5:Expected behavior 🤔
Successful build.
Steps to reproduce 🕹
Steps:
Context 🔦
No response
Your environment 🌎
No response
The text was updated successfully, but these errors were encountered: