-
-
Notifications
You must be signed in to change notification settings - Fork 847
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
Unable to resolve "devlop" from "node_modules/react-markdown/lib/index.js #801
Comments
duplicate of #798, please search issues before raising. |
This comment was marked as resolved.
This comment was marked as resolved.
Hi! Thanks for taking the time to contribute! Because we treat issues as our backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn’t an exact duplicate but is closely related. Thanks, |
This comment was marked as resolved.
This comment was marked as resolved.
I am using it in react native. Can it be actually used in react native or not? It is working fine for web. |
It depends on your bundler whether it understands |
Ok. Thanks 🙏 |
It should be possible to build the code with metro/expo, if it does not, that is bug in their build tool. Which expo would be the best place for support on https://github.com/expo/expo/discussions That said once it builds, the components |
(FYI for others) I also ran into this issue when using react-markdown in a chrome extension using Plasmo, which uses Parcel as the bundler. The fix was to add a line to my package.json as described here: (Will no longer be needed after Parcel 3 ships apparently) |
This didn't work for me, am building chrome extension with Parcel as bundler as well. edit: it is working for me now with parcel version |
@holdenmatt this work for me 。 |
Initial checklist
Affected packages and versions
"react-markdown": "^9.0.1",
Link to runnable example
No response
Steps to reproduce
I used this package in an expo app. For web it is working fine. But when i am trying to run it on android it shows error:
Android Bundling failed 111ms
Unable to resolve "devlop" from "node_modules/react-markdown/lib/index.js"
Expected behavior
should compile properly
Actual behavior
not compiling
Runtime
No response
Package manager
No response
OS
No response
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: