Spoke
Spoke copied to clipboard
Failed to Compile: Can't resolve 'three/examples/textures/waternormals.jpg'
Clone spoke, install and run. This is the error:
ERROR in ./src/editor/nodes/SimpleWaterNode.js Module not found: Error: Can't resolve 'three/examples/textures/waternormals.jpg' in '/home/beast/Documents/GitHub/xrsocial-client/node_modules/xrchat-spoke/src/editor/nodes' @ ./src/editor/nodes/SimpleWaterNode.js 5:0-71 38:39-54 @ ./src/config.js @ ./src/ui/EditorContainer.js @ ./src/ui/App.js @ ./src/index.js @ multi ./src/index.js
it seems like npm install doesn't get the correct branch or version of three.js. i manually copy and replace the directory: node_modules/three/examples/ from https://github.com/MozillaReality/three.js#hubs/master then it works!