I can't Downgrade three.js version from 0.133 to 0.132

after change three.js version from package.json to 132 i,m try to do npm install for install new version. But i has error in my terminal

(commonjs plugin) SyntaxError: Unexpected character '#' (7690:1) in /home/grigor/Project/seat-map-view/node_modules/three/build/three.module.js

at /home/grigor/Project/seat-map-view/node_modules/three/build/three.module.js:7690:1

7688: class Material extends EventDispatcher {
7689: 
7690:   #alphaTest = 0;
        ^
7691: 
7692:   constructor() {

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ft-tiny/seat-map-view@1.0.9 build: `microbundle-crl --no-compress --format modern,cjs --css-modules false`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ft-tiny/seat-map-view@1.0.9 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     .npm/_logs/2022-08-31T16_25_12_041Z-debug.log
ERROR: "build" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ft-tiny/seat-map-view@1.0.9 prepare: `run-s build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ft-tiny/seat-map-view@1.0.9 prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     .npm/_logs/2022-08-31T16_25_12_120Z-debug.log

How can i fix it ?

Looks like your bundler does not support private class fields (they were added for a moment but broke stuff like create-react-app package.)

If you’re in need of using 0.132, consider using 0.132.2 (iirc it contained a hotfix that removed private class fields.)

We’ve added private fields in the hope the JavaScript ecosystem would already properly support them. However, certain tools broke with this change so we have reverted it with a hotfix.

@mjurczyk thanks a lot for answer i try with 0.132.2 and problem is fixed.