-
Notifications
You must be signed in to change notification settings - Fork 199
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
Module not found: Can't resolve 'rdf-canonize-native' during build in RDFLib dependency #567
Comments
|
Hi @davidlehn! Thank you for such meaningful and prompt reply. If I understand correctly jsonld.js will be updated and drop Where I got lost is, do you know what is causing this specific issue stemming from rdflib, passing through jsonld and landing in rdf-canonize-native? And most importantly, do you have any suggestions for this bug fix? Thank you!! |
As I mentioned, you need to make your tooling ignore that "browser": {
"rdf-canonize-native": false
} Your tooling might handle the above too or maybe some other way to override specific packages to something else or nothing. |
Awesome! Thanks @davidlehn
That's right! I'm using Next.js and it may be trying to compile the library, but I don't have the library installed.
Ok. I will try this and come back to share my insights. Thank you @davidlehn! Means a lot |
Hi!
While building a Next.js project that includes RDFLib ([email protected]), the build fails due to a missing module error in rdf-canonize:
This error seems to originate from rdf-canonize, which is a dependency of jsonld, which in turn is required by RDFLib.
Steps to Reproduce
Expected Behavior
The build should complete successfully without missing dependencies.
Actual Behavior
Environment
Attempts to solve
Full Log
Conclusion
Thank you in advance!!!
The text was updated successfully, but these errors were encountered: