Closed tpulmano closed 5 months ago
Trying to run the node-app example fails with import errors like this:
node-app
ERROR in ./node_modules/apache-arrow/ipc/metadata/message.mjs 46:14-33 Can't import the named export 'Builder' from non EcmaScript module (only default export is available) @ ./node_modules/apache-arrow/Arrow.mjs @ ./node_modules/apache-arrow/Arrow.dom.mjs @ ./node_modules/@kepler.gl/utils/dist/arrow-data-container.js @ ./node_modules/@kepler.gl/utils/dist/index.js @ ./node_modules/@kepler.gl/components/dist/side-panel/layer-panel/layer-list.js @ ./node_modules/@kepler.gl/components/dist/index.js @ ./src/app.js @ ./src/main.js
Copying this fix from the demo-app resolves them: https://github.com/keplergl/kepler.gl/blob/f897057379e4c5483fd3cfe788036e71d791dbaa/examples/demo-app/webpack.config.js#L40-L45
demo-app
Trying to run the
node-app
example fails with import errors like this:Copying this fix from the
demo-app
resolves them: https://github.com/keplergl/kepler.gl/blob/f897057379e4c5483fd3cfe788036e71d791dbaa/examples/demo-app/webpack.config.js#L40-L45