Giraffe
CDCloudflare Developers
•Created by terribleplan on 3/2/2024 in #workers-help
unable to deploy sveltekit when using postgres
Did you find a solution @terribleplan?
14 replies
CDCloudflare Developers
•Created by sanser on 3/31/2024 in #pages-help
postgres in pages
Did you find a solution to this?
7 replies
CDCloudflare Developers
•Created by Evil Morty on 5/28/2024 in #pages-help
Cannot use "timers" when deploying to Cloudflare
Same. Did anyone find a solution to this?
4 replies
CDCloudflare Developers
•Created by ccfiel on 10/19/2024 in #pages-help
deploying sveltekit in cloudflare pages. I got this error Cannot use "url" when deploying to Cloud
Did you find any solution?
3 replies
CDCloudflare Developers
•Created by ccfiel on 10/19/2024 in #pages-help
deploying sveltekit in cloudflare pages. I got this error Cannot use "url" when deploying to Cloud
Same :(
3 replies
Deno workspace with sveltekit(package.json) import native deno library dependency
Btw what I ended up doing was converting the sveltekit app to a
./app/deno.jsonc
file.
In the ./app/package.json
, I use the Bun-syntax.
When installing the monorepo, I remove the Bun-syntax from the ./app/package.json
, do deno install --allow-scripts
and re-add it, and do bun install
(Bun will just "apply" the workspace dependency, as there are no other packages)
This is good enough for me right now. But definitely an annoyance I hope see fixed🤞🏿
Sidenote since others also use SvelteKit. I had to do{ compilerOptions: { runes: true } }
insvelte.config.js
, as my site was throwing an error when attempting to use svelte legacy. This only happened with the Deno install — so it might be a compatability issue.
7 replies
Deno workspace with sveltekit(package.json) import native deno library dependency
In my case, I am planning to build a deno project
library
into an npm package, as it is an npmjs package already — and wanted to use deno.
For the building process I use dnt.
(Deno 2.0.6)
- ./app
sveltekit with package.json (testing suite)
- ./library
my library
I've tried combinations of
./deno.jsonc
and
./package.json
⸻⸻⸻⸻⸻⸻
This setup means I have a ./library/package.json
with some exports:
What I've tried with ./app/deno.jsonc
is doing
after adding the deno-vite-plugin
per your suggestion.
I've tried the "npm"-way which is ./app/package.json
But that just installs the npm package with that name.
I've tried the "bun"-way which is ./app/package.json
but here, workspace
isn't recognized.
Workaround
What have worked, is doing deno install --allow-scripts
, then using the beforementioned "bun"-way, and then doing bun install
When I run the project, it works as expected.
@marvinh. I presume this is not supported yet?7 replies