#Attempted import error: 'Date3DTexture is not exported from 'three' (imported as ‘DataTexture3D2’).

2 messages · Page 1 of 1 (latest)

void pebble
#

Error: ./node_modules/postprocessing/build/postprocessing.esm.js
Attempted import error: ‘DataTexture3D’ is not exported from ‘three’ (imported as ‘DataTexture3D2’).

package.json:
“@react-three/drei”: “^9.56.17”,
“@react-three/fiber”: “^8.10.4”,
“@react-three/postprocessing”: “^2.7.0”,
“@types/three”: “^0.149.0”,
“react”: “^17.0.2”,
“react-dom”: “^17.0.2”,
“react-scripts”: “4.0.3”,
“three”: “^0.149.0”,
“three-stdlib”: “^2.21.8”,

I have upgraded Threejs to r149, the latest one but it’s still not resolved.
appreciate any help, thanks!

heady fox
#

go back to three 148. 149 was once again a breaking change pushed out as a feature minor