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

Error after installation in project ("react": "^17.0.1") #32

Open
i-gera opened this issue Apr 14, 2023 · 1 comment
Open

Error after installation in project ("react": "^17.0.1") #32

i-gera opened this issue Apr 14, 2023 · 1 comment

Comments

@i-gera
Copy link

i-gera commented Apr 14, 2023

Module not found: Error: Can't resolve 'react/jsx-runtime' in 'C:\Users\a.zhailkhanova\Documents\JI projects\mobile-app-client\node_modules\react-pull-to-refresh\dist'
Did you mean 'jsx-runtime.js'?
BREAKING CHANGE: The request 'react/jsx-runtime' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.

@Senbonzakura1234
Copy link

Senbonzakura1234 commented May 1, 2023

you must be using old CRA version, try to upgrade CRA to latest, or just ditch CRA totally and use Vite or Create Next App (Nextjs) instead, seriously. CRA is very problematic nowadays

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants