-
-
Notifications
You must be signed in to change notification settings - Fork 95
Incorrect mimetype breaks build #489
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
Comments
Yes, I tried to adapt so that ESM-first system can work out-of-the-box with graphology but because of the packaging schism it does not seem to work that well... Can you report what building tool you are using? Fixing the |
I already use "graphology": "0.25.1" and I'm using "react-scripts": "^5.0.1". If I downgrade to "react-scripts": "^4.0.3" is working but I get other issues. |
Do you have the same issue with |
Same issue with 0.25.0 indeed. |
We had the same issue on our project after Unfortunately we are not able to use latest |
The workaround I found was to replace |
ESM-first support is not yet working Related to #489
I published v0.25.4 reverting back to v0.25.1 package semantics to avoid half-baked ESM-first support. This should fix most issues but we still don't have ESM-first support which is too much of a hassle currently. |
Hi,
When building an old project I get this error. It used to work well previously.
Anyone knows what the issue could be ?
Module not found: Error: Can't resolve 'obliterator/iterator' in '/path_to_modules/node_modules/graphology/dist'
Did you mean 'iterator.js'?
BREAKING CHANGE: The request 'obliterator/iterator' 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: