Rachael
Rachael
SSolidJS
Created by willkelly on 5/17/2024 in #support
Potential upstream problem in solid for users of Astro + solid + cloudflare?
Awesome, this was very helpful thanks!
49 replies
SSolidJS
Created by willkelly on 5/17/2024 in #support
Potential upstream problem in solid for users of Astro + solid + cloudflare?
No I currently don't have it set so it is whatever is default for Astro the specific project is open source so feel free to poke around https://github.com/datagrove/marketplace-us . For now its working with the cloudflare adapter 9.2.1 so I may spend some more time hunting this down when I have the chance or maybe 1.9 will be the answer 🤷‍♀️
49 replies
SSolidJS
Created by willkelly on 5/17/2024 in #support
Potential upstream problem in solid for users of Astro + solid + cloudflare?
Variations on this:
16:02:08 [ERROR] [vite] x Build failed in 2.32s
[commonjs--resolver] [plugin vite:resolve] Cannot bundle Node.js built-in "stream" imported from "node_modules/@supabase/node-fetch/lib/index.js". Consider disabling ssr.noExternal or remove the built-in dependency.
file: /Users/rsouthworth/SRC/marketplace-us/node_modules/@supabase/node-fetch/lib/index.js
Stack trace:
at getRollupError (file:///Users/rsouthworth/SRC/marketplace-us/node_modules/rollup/dist/es/shared/parseAst.js:392:41)
at Object.error (file:///Users/rsouthworth/SRC/marketplace-us/node_modules/rollup/dist/es/shared/node-entry.js:19733:20)
at Object.handler (file:///Users/rsouthworth/SRC/marketplace-us/node_modules/vite/dist/node/chunks/dep-BaOMuo4I.js:65575:15)
at async PluginDriver.hookFirstAndGetPlugin (file:///Users/rsouthworth/SRC/marketplace-us/node_modules/rollup/dist/es/shared/node-entry.js:19818:28)
at async ModuleLoader.resolveId (file:///Users/rsouthworth/SRC/marketplace-us/node_modules/rollup/dist/es/shared/node-entry.js:18912:15)
at async Promise.all (index 0)
at async rewriteRequireExpressionsAndGetImportBlock (file:///Users/rsouthworth/SRC/marketplace-us/node_modules/vite/dist/node/chunks/dep-BaOMuo4I.js:13599:28)
at async transform (file:///Users/rsouthworth/SRC/marketplace-us/node_modules/rollup/dist/es/shared/node-entry.js:18830:16)
16:02:08 [ERROR] [vite] x Build failed in 2.32s
[commonjs--resolver] [plugin vite:resolve] Cannot bundle Node.js built-in "stream" imported from "node_modules/@supabase/node-fetch/lib/index.js". Consider disabling ssr.noExternal or remove the built-in dependency.
file: /Users/rsouthworth/SRC/marketplace-us/node_modules/@supabase/node-fetch/lib/index.js
Stack trace:
at getRollupError (file:///Users/rsouthworth/SRC/marketplace-us/node_modules/rollup/dist/es/shared/parseAst.js:392:41)
at Object.error (file:///Users/rsouthworth/SRC/marketplace-us/node_modules/rollup/dist/es/shared/node-entry.js:19733:20)
at Object.handler (file:///Users/rsouthworth/SRC/marketplace-us/node_modules/vite/dist/node/chunks/dep-BaOMuo4I.js:65575:15)
at async PluginDriver.hookFirstAndGetPlugin (file:///Users/rsouthworth/SRC/marketplace-us/node_modules/rollup/dist/es/shared/node-entry.js:19818:28)
at async ModuleLoader.resolveId (file:///Users/rsouthworth/SRC/marketplace-us/node_modules/rollup/dist/es/shared/node-entry.js:18912:15)
at async Promise.all (index 0)
at async rewriteRequireExpressionsAndGetImportBlock (file:///Users/rsouthworth/SRC/marketplace-us/node_modules/vite/dist/node/chunks/dep-BaOMuo4I.js:13599:28)
at async transform (file:///Users/rsouthworth/SRC/marketplace-us/node_modules/rollup/dist/es/shared/node-entry.js:18830:16)
49 replies
SSolidJS
Created by willkelly on 5/17/2024 in #support
Potential upstream problem in solid for users of Astro + solid + cloudflare?
If I do have other dependencies that break does this mean the fix in core is going to break those same things then? I am using supabase and from what I can tell from the error messages it does not get along with these vite settings.
49 replies
SSolidJS
Created by willkelly on 5/17/2024 in #support
Potential upstream problem in solid for users of Astro + solid + cloudflare?
So to sum up the current state of things: For folks using Cloudflare + Astro + Solid the immediate fix is use the cloudflare adapter version 9.2.1 or use client:only directives, the long term solution is that solid has found the solution but we are waiting on a minor version release and will need to update to that? Any ETA on the minor version release?
49 replies
SSolidJS
Created by Temboard on 7/27/2023 in #support
can't reset createInfiniteScroll
Did you ever get this figured out? I think we are struggling with something similar...
4 replies