geobtaa / geoportal

Big Ten Academic Alliance Geoportal
Other
10 stars 5 forks source link

Vite requires Node 18+ #578

Closed ewlarson closed 2 months ago

ewlarson commented 4 months ago

GeoBlacklight v4.2 includes vite_rails, which adds Vite as a frontend development solution.

Vite requires Node 18+ or 20+. Michael has geodev running Node 18 now.

Test deploy fails to precompile assets, due to this error:

00:28 deploy:assets:precompile
      01 bundle exec rake assets:precompile
      01 DEPRECATION WARNING: Initializing a Blacklight::Configuration::ViewConfig implicitly (by calling mapview) is deprecated. Call it as mapview! or pass initialize arguments. (ca…
      01 Compiling...
      01 Compilation failed:
      01
      01   `@babel/polyfill` is deprecated. Please, use required parts of `core-js`
ewlarson commented 2 months ago

GeoDev and GeoProd are running v20