eea / volto-eea-kitkat

EEA Volto Add-ons bundle: A known good set of Volto addons to be used within all EEA projects
MIT License
5 stars 2 forks source link

Volto 17.0.1 site instance fails to compile with kitkat #134

Closed kenmanheimer closed 1 year ago

kenmanheimer commented 1 year ago

Including kitkat in a Volto 17.0.1 frontend instance causes the build and started instance to fail. The build and start are successful if kitkat is not included or with a pre-17 version of Volto. (I'm using kitkat successfully with Volto 16.22.2.)

Specifically:

[...]
264.7 Compiling client default build...
264.7
505.6 Failed to compile client default build.
505.6
505.6 Should not import the named export 'version' (imported as 'voltoVersion') from default-exporting module (only default export is available soon)
505.6     at HarmonyImportSpecifierDependency.getLinkingErrors (/build/node_modules/webpack/lib/dependencies/HarmonyImportDependency.js:211:7)
505.6     at HarmonyImportSpecifierDependency._getErrors (/build/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:202:15)
[...]

I've poked around a little trying to include the various addons which kitkat brings in, instead of kitkat as a whole, and it still doesn't work.

Is kitkat going to be brought into compliance with Volto 17.0.1?

ichim-david commented 1 year ago

@kenmanheimer as mentioned in community forum yes volto-eea-kitkat will be made compatible with Volto 17 but I cannot give you a time estimate since we have not started yet.

ichim-david commented 1 year ago

@kenmanheimer here is the fix from the develop branch for Volto 17 https://github.com/eea/volto-eea-kitkat/commit/637486ae708ef633f0ebc8855d62339e030f9461 we will have a release next week but you can try it until then on your Volto 17 project using the develop branch

avoinea commented 1 year ago

The issue should be fixed in version 19.0.0 See https://github.com/eea/volto-eea-kitkat/releases