I had Rollup installed in the old installation of Debian 11 and it worked without any problems. Installed JsDoc which exploded the whole npm so Rollup started to throw errors. So, I took backups and reinstalled the whole system with the current Debian 12. Now, I can't find any way to make Rollup to work again. It just throws node-resolve errors for the project (any commits which worked earlier). I think the error is the same as it was when installing JsDoc broke it:
(!) Plugin node-resolve: Could not resolve import "three/build/three.module.js" in /home/pparnane/Flasheye/felib-local/src/shims/three/core.js using exports defined in /home/pparnane/Flasheye/felib-local/node_modules/three/package.json.
(!) Unresolved dependencies
https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
three/build/three.module.js (imported by "src/shims/three/core.js")
I had Rollup installed in the old installation of Debian 11 and it worked without any problems. Installed JsDoc which exploded the whole npm so Rollup started to throw errors. So, I took backups and reinstalled the whole system with the current Debian 12. Now, I can't find any way to make Rollup to work again. It just throws node-resolve errors for the project (any commits which worked earlier). I think the error is the same as it was when installing JsDoc broke it:
(!) Plugin node-resolve: Could not resolve import "three/build/three.module.js" in /home/pparnane/Flasheye/felib-local/src/shims/three/core.js using exports defined in /home/pparnane/Flasheye/felib-local/node_modules/three/package.json. (!) Unresolved dependencies https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency three/build/three.module.js (imported by "src/shims/three/core.js")