Go Pro Sign Up Login

Buy Now and unlock this series

$

49

.99

$

39

.99

yours forever

Become a Pro and unlock everything

$

24

.99

per month

Spring Animations

Downloads

Become a pro to download code and videos

Comments

User avatar

Jesse

1 day ago [edited]

I keep getting the error below and i don't know how to fix it short of deleting project and re building it form npm install.

500 document is not defined ReferenceError: document is not defined at createElementNS (/Users/brenndareis/Desktop/Demo/node_modules/three/build/three.cjs:1133:2) at ImageLoader.load (/Users/brenndareis/Desktop/Demo/node_modules/three/build/three.cjs:28594:17) at TextureLoader.load (/Users/brenndareis/Desktop/Demo/node_modules/three/build/three.cjs:28746:10) at world.svelte:4:44 at Object.$$render (/Users/brenndareis/Desktop/Demo/node_modules/svelte/internal/index.js:1758:22) at eval (/src/routes/index.svelte:11:93) at Object.$$render (/Users/brenndareis/Desktop/Demo/node_modules/svelte/internal/index.js:1758:22) at Object.default (root.svelte:43:39) at eval (/.svelte-kit/runtime/components/layout.svelte:8:41) at Object.$$render (/Users/brenndareis/Desktop/Demo/node_modules/svelte/internal/index.js:1758:22)

Want to join the conversation?

Become a Pro member today!