TS + React + WP5 resolve errors
del1e opened this issue · 1 comments
Hello everyone!
Can anyone please help me with web-ifc-viewer using react + typescript + webpack5?
Could you please advise on how to solve this?
ERROR in ./node_modules/web-ifc-viewer/dist/ifc-viewer-api.js 1:0-151 Module not found: Error: Can't resolve './components' in 'node_modules/web-ifc-viewer/dist' Did you mean 'index.js'? BREAKING CHANGE: The request './components' failed to resolve only because it was resolved as fully specified (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"'). The extension in the request is mandatory for it to be fully specified. Add the extension to the request.