Use NodeMaterial with THREE.JS module

Hi! I try to import three js as module, but nodeMaterial can`t find it. Is there way how to do this?

Try to import the node classes from the jsm directory as mentioned in this guide:

You can import the classes individually or everything all at once under a specific namespace. This would look like so:

import * as Nodes from 'three/examples/jsm/nodes/Nodes.js';