You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to instantiate Mirador (v3.3.0) in a project using Webpack 5. I'm getting the following build error:
ERROR in ./node_modules/normalize-url/index.js 29:45-63
Module not found: Error: Can't resolve 'url' in './node_modules/normalize-url'BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.This is no longer the case. Verify if you need this module and configure a polyfill for it.If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "url": require.resolve("url/") }' - install 'url'If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "url": false }
Do you have any advice on how to best handle this?
Hi @D-Groenewegen just writing for some clarification: when you say "it's probably worth updating the integration example" do you mean an example that's in the Mirador documentation or elsewhere?
I'm trying to instantiate Mirador (v3.3.0) in a project using Webpack 5. I'm getting the following build error:
Do you have any advice on how to best handle this?
In addition, I get the following warning:
and another identifcal one
Module not found: [...] @blueprintjs/icons
.Probably not a big deal, since it's just warnings. Just thought I'd report.
The text was updated successfully, but these errors were encountered: