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

Failed to compile after upgraded to 2.0.0 #25

Open
Bnacha opened this issue Apr 22, 2021 · 5 comments
Open

Failed to compile after upgraded to 2.0.0 #25

Bnacha opened this issue Apr 22, 2021 · 5 comments

Comments

@Bnacha
Copy link

Bnacha commented Apr 22, 2021

Due to #20 I continue to upgrade but also found

image
and I have checked recharts folder in node_module it's no have 'polyfill.js' file as the screenshot
image

Try to upgrade
Recharts @2.0.9
Babel-plugin-recharts @2.0.0

@Bazze
Copy link

Bazze commented Jul 19, 2021

I'm also seeing this issue. Still not figured out a solution for it, will report back if I do!

@Bazze
Copy link

Bazze commented Jul 20, 2021

I nuked the node_modules folder (rm -rf node_modules) and then reinstalled all deps, that removed the error. Now I'm stuck with other errors like broken imports etc, but seems like that did the trick for this specific issue 🤓

@KamiGim
Copy link

KamiGim commented Nov 3, 2021

Hi Guy,
any update on this.

@sedatbasar
Copy link

Having similar issue

[vite:react-babel] [BABEL]: ENOENT: no such file or directory, open 'XXX/node_modules/recharts/src/index.ts' (While processing: XXX/node_modules/babel-plugin-recharts/lib/index.js)
file: XXX/src/main.tsx

"vite": "^3.1.0",
"typescript": ^5.0
"recharts": "^2.7.2",
"babel-plugin-recharts": "^2.0.0",

@ckifer
Copy link
Member

ckifer commented Aug 27, 2023

Hey all, a few of us are currently trying to maintain over at recharts - tbh I didn't even know this existed and I do not have publish permissions for it so I can't really take much action unfortunately.

I would like to reduce bundle size in ways that don't requite a plugin which might supersede the need for this lib

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

5 participants