Closed will-moore closed 1 year ago
Last error appears to derive from ├─┬ @babel/core@7.21.4
https://github.com/ome/omero-parade/actions/runs/4668971663/jobs/8266784235?pr=121
so I tried reverting the upgrade, but that fails since previous version doesn't work with webpack 5
$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: omero_parade@0.1.3
npm ERR! Found: webpack@5.78.0
npm ERR! node_modules/webpack
npm ERR! dev webpack@"^5.78.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"2 || 3 || 4" from babel-loader@7.1.5
npm ERR! node_modules/babel-loader
npm ERR! dev babel-loader@"^7.1.4" from the root project
cc @jburel That's a whole day I've spent on trying to fix parade. Seems like the only solution is to downgrade Node to 16.
Replaced by #122
See #120 - trying various strategies, leading to update webpack. https://webpack.js.org/migrate/5/