#svelte deno

3 messages · Page 1 of 1 (latest)

wooden kraken
rugged heath
#

I had the exact same problem. It's because that function is not implemented in Deno's std/node
It's very difficult to implement since in JS you cannot tell if an object is a Proxy or not. NodeJS does this under the hood.

I think what I did was something like this at the top of the svelte.config file

import * as types from "https://deno.land/std@0.165.0/node/util/types.ts";
// @ts-ignore: just so your ide is quiet
types.isProxy = () => false

Even after this, it still didnt work due to a different issue.
Deno does not allow NPM modules to read the package.json which Vite requires to find out the dependencies.
Until Vite works well, sveltekit will not work.

carmine rapids
#

Attempting to port to using demo with my sveltekit project is there any updates on demo and sveltekit functioning?