Yuu
Yuu
CDCloudflare Developers
Created by Yuu on 12/5/2023 in #pages-help
No loader is configured for ".ttf" files
I'm deploying a Sveltekit app to Cloudflare Pages but when using @sveltejs/adapter-cloudflare, I get this error:
> Using @sveltejs/adapter-cloudflare
✘ [ERROR] No loader is configured for ".ttf" files: node_modules/.pnpm/[email protected]/node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf

node_modules/.pnpm/[email protected]/node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.css:9:6:
9 │ src: url(./codicon.ttf) format("truetype");
╵ ~~~~~~~~~~~~~~~~~~
> Using @sveltejs/adapter-cloudflare
✘ [ERROR] No loader is configured for ".ttf" files: node_modules/.pnpm/[email protected]/node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf

node_modules/.pnpm/[email protected]/node_modules/monaco-editor/esm/vs/base/browser/ui/codicons/codicon/codicon.css:9:6:
9 │ src: url(./codicon.ttf) format("truetype");
╵ ~~~~~~~~~~~~~~~~~~
How do I fix this?
4 replies
CDCloudflare Developers
Created by Yuu on 7/6/2023 in #workers-help
Deploying SvelteKit application for NodeJS
I get the following errors: https://pastify.xyz/show/O9sIQ0sq9mAjxCWlESRq I have compatibility_flags = [ "nodejs_compat" ] enabled in my wrangler.toml. The application can be found at https://github.com/hamza1311/firestorm/tree/trpc-endpoints How do I deploy this application? Is it impossible to use Cloudflare Workers? I get the same error when using pages adapter as well
3 replies