Giter Site home page Giter Site logo

Package dependencies error: ./node_modules/mdast-util-to-hast/lib/index.js Module not found: Can't resolve 'devlop' about react-markdown HOT 7 CLOSED

Jonathan-de-Villiers avatar Jonathan-de-Villiers commented on May 27, 2024
Package dependencies error: ./node_modules/mdast-util-to-hast/lib/index.js Module not found: Can't resolve 'devlop'

from react-markdown.

Comments (7)

remcohaszing avatar remcohaszing commented on May 27, 2024 1

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

from react-markdown.

wooorm avatar wooorm commented on May 27, 2024

Are you using webpack 4, create react app?

from react-markdown.

Jonathan-de-Villiers avatar Jonathan-de-Villiers commented on May 27, 2024

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

from react-markdown.

wooorm avatar wooorm commented on May 27, 2024

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.

from react-markdown.

github-actions avatar github-actions commented on May 27, 2024

Hi! This was closed. Team: If this was fixed, please add phase/solved. Otherwise, please add one of the no/* labels.

from react-markdown.

bartvanandel avatar bartvanandel commented on May 27, 2024

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.

from react-markdown.

ChristianMurphy avatar ChristianMurphy commented on May 27, 2024

@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.

from react-markdown.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.