remarkjs / remark

markdown processor powered by plugins part of the @unifiedjs collective
https://remark.js.org
MIT License
7.66k stars 358 forks source link

Module not found: Can't resolve 'devlop' in '/app/node_modules/remark/node_modules/unified/lib' #1284

Closed UsmanShafaqat007 closed 9 months ago

UsmanShafaqat007 commented 9 months ago

Initial checklist

Affected packages and versions

15.0.1

Link to runnable example

No response

Steps to reproduce

just add it via yarn and got the above error

Expected behavior

no error

Actual behavior

got error

Runtime

Node v17

Package manager

yarn 1

OS

Linux

Build and bundle tools

Create React App

ChristianMurphy commented 9 months ago

Welcome @UsmanShafaqat007! 👋 Sorry you ran into a spot of trouble.

This isn't a bug in remark or unified. It is a bug in create-react-app. See https://github.com/orgs/unifiedjs/discussions/233, https://github.com/remarkjs/react-markdown/issues/801, and https://github.com/remarkjs/react-markdown/issues/798

Note that create-react-app is deprecated https://github.com/reactjs/react.dev/pull/5487#issuecomment-1409720741, consider moving to a build tool which still has support like https://vitejs.dev/, https://nextjs.org/, or https://remix.run/ (among others)

A guide to help get started https://dev.to/henriquejensen/migrating-from-create-react-app-to-vite-a-quick-and-easy-guide-5e72

github-actions[bot] commented 9 months ago

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