Skip to content
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

Package dependencies error: ./node_modules/mdast-util-to-hast/lib/index.js Module not found: Can't resolve 'devlop' #798

Closed
4 tasks done
Jonathan-de-Villiers opened this issue Nov 14, 2023 · 7 comments
Labels
🙅 no/wontfix This is not (enough of) an issue for this project 👎 phase/no Post cannot or will not be acted on

Comments

@Jonathan-de-Villiers
Copy link

Initial checklist

Affected packages and versions

"react-markdown": "^9.0.1",

Link to runnable example

No response

Steps to reproduce

I've just installed the package using yarn. imported it to a file and tried to use it.

Expected behavior

Hoped it would work

Actual behavior

it gave me the error and even when I added devlop it still isn't working

Runtime

Node v16

Package manager

yarn 1

OS

Windows

Build and bundle tools

No response

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Nov 14, 2023
@wooorm
Copy link
Member

wooorm commented Nov 14, 2023

Are you using webpack 4, create react app?

@Jonathan-de-Villiers
Copy link
Author

I'm not sure it is an old app that started development back in 2018

@wooorm
Copy link
Member

wooorm commented Nov 14, 2023

You're using outdated and unmaintained tools. Switch to maintained and modern ones in order to use maintained and modern packages. Or use old versions of packages.

@wooorm wooorm closed this as not planned Won't fix, can't repro, duplicate, stale Nov 14, 2023
@wooorm wooorm added the 🙅 no/wontfix This is not (enough of) an issue for this project label Nov 14, 2023

This comment has been minimized.

@github-actions github-actions bot added 👎 phase/no Post cannot or will not be acted on and removed 🤞 phase/open Post is being triaged manually labels Nov 14, 2023
@bartvanandel
Copy link

This issue haunts us too. Expo-based app, using latest expo and pretty much all the latest package updates (bearing in mind expo compatibility). We're also on the latest LTS version of Node, and newest NPM, so "you're using outdated and unmaintained tools" definitely doesn't apply to us. The only thing we can't do is use "type": "module" in our package.json, because this breaks the build in weird ways which I wasn't able to fix in a few days worth of debugging.

The package is installed in node_modules correctly though. Checked npm list --all for anomalies, all good. Very strange.

@remcohaszing
Copy link
Member

This sounds like the latest of Expo doesn’t support support package exports. It’s a bug on their end.

@ChristianMurphy
Copy link
Member

@bartvanandel sorry you ran into a spot of trouble.
The issue remains with Expo, which in return relies on metro.
Metro has known issues handling standard ESM and export specifiers https://github.com/search?q=repo%3Afacebook%2Fmetro+esm&type=issues
Metro and Expo need to resolve their issues.

@remarkjs remarkjs locked as resolved and limited conversation to collaborators Dec 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🙅 no/wontfix This is not (enough of) an issue for this project 👎 phase/no Post cannot or will not be acted on
Development

No branches or pull requests

5 participants