-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TS + React + WP5 resolve errors #230
Comments
Hi! Did you check out the react example available here? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: