Closed robksawyer closed 3 years ago
Note: I'm running my components in src/components/
not sure if that matters.
Ha, import { FaceNormalsHelper } from "three/examples/jsm/helpers/FaceNormalsHelper";
doesn't exist in the package "three": "^0.130.1",
that was the issue.
The only way I've managed to get this working is to use
next@10
andnext-transpile-modules@^4.1.0
.Describe the bug Getting the following error when trying to import these classes.
To Reproduce Setup your next.config.js like this.
Expected behavior I expect the module to load.
Setup
next-transpile-modules
version: 8.0.0npm
/yarn
version: yarn 1.22.10