comunica / Tutorial-Solid-GraphQL-LD-Profile-Viewer

🏫 Tutorial on GraphQL-LD for Solid in React
https://comunica.github.io/Tutorial-Solid-GraphQL-LD-Profile-Viewer/
1 stars 0 forks source link

webpack < 5 used to include polyfills for node.js core modules by default #5

Open argahsuknesib opened 2 years ago

argahsuknesib commented 2 years ago

Description Different modules are not found in the node modules. The case was the same with LDFlex-with-React (Link) tutorial as well.

Error polyfill

Other non-resolved packages in different node modules are,

My Environment

rubensworks commented 2 years ago

In the future, Comunica should migrate away from Node.js built-ins (https://github.com/comunica/comunica/issues/857). But we're not there yet unfortunately. So in the meantime, either Webpack 4 must be used, or the following must be configured: https://comunica.dev/docs/modify/advanced/browser_builds/#4--building-for-the-browser

argahsuknesib commented 2 years ago

Thanks!