Hi 👋🏻
The lib fails in Next.js with the following error on any import from @react-three/jolt:
./node_modules/jolt-physics/dist/jolt-physics.wasm-compat.js:12:121
Module not found: Can't resolve './'
https://nextjs.org/docs/messages/module-not-found
Import trace for requested module:
./node_modules/@react-three/jolt/dist/index.mjs
./src/components/Scene/PhysicsDemo/PhysicsDemo.tsx
Example:
import {useEffect} from 'react';
import {Physics} from '@react-three/jolt';
export function PhysicsDemo() {
return (
<Physics>
<InnerComponents/>
</Physics>
);
}
Have you ever experienced such issue?
Hi 👋🏻
The lib fails in Next.js with the following error on any import from
@react-three/jolt:Example:
Have you ever experienced such issue?