Failed to resolve OutputPass.js

Hello, I have recently started using the Effect composer for different post processing passes, however, for some reason whenever I try to import the ‘OutputPass’ file, I cannot seem to get it, all of the other passes are resolved correctly and work properly, however this specific one doesn’t seem to work
(Image below shows error)

Any ideas as to why this could be happening?

Which version of three are you using?

0.151.3 is what it shows in my package.json

See this issue.

In versions of three before r153 - OutputPass didn’t exist.

2 Likes

Ahhh thank you so much! For some reason my PNPM wasn’t updating THREE to the latest version so I just manually swapped it and it works!