svelte-schema-form icon indicating copy to clipboard operation
svelte-schema-form copied to clipboard

require is not defined in Sveltekit 1.20.4

Open magick93 opened this issue 1 year ago • 0 comments

Hello

I'm trying to work with svelte-schema-form in sveltekit, but am getting the below error:

require is not defined

ReferenceError: require is not defined
    at eval (/home/anton/git/yestech/legalease/node_modules/.pnpm/@[email protected]/node_modules/@exodus/schemasafe/src/pointer.js:5:27)
    at instantiateModule (file:///home/anton/git/yestech/legalease/node_modules/.pnpm/[email protected]_@[email protected]/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:54405:15

magick93 avatar Jun 24 '23 04:06 magick93