stormy-gold
stormy-gold12mo ago

After upgrading my refine package to the latest version I get an warning

The warning I get is
One of your dependencies, babel-preset-react-app, is importing the
"@babel/plugin-proposal-private-property-in-object" package without
declaring it in its dependencies. This is currently working because
"@babel/plugin-proposal-private-property-in-object" is already in your
node_modules folder for unrelated reasons, but it may break at any time.
One of your dependencies, babel-preset-react-app, is importing the
"@babel/plugin-proposal-private-property-in-object" package without
declaring it in its dependencies. This is currently working because
"@babel/plugin-proposal-private-property-in-object" is already in your
node_modules folder for unrelated reasons, but it may break at any time.
All my refine package versions that I am using are as below:
"@refinedev/antd": "^5.28.0",
"@refinedev/cli": "^2.7.2",
"@refinedev/core": "^4.26.2",
"@refinedev/kbar": "^1.1.0",
"@refinedev/react-router-v6": "^4.3.2",
"@refinedev/simple-rest": "^4.5.0",
"@refinedev/antd": "^5.28.0",
"@refinedev/cli": "^2.7.2",
"@refinedev/core": "^4.26.2",
"@refinedev/kbar": "^1.1.0",
"@refinedev/react-router-v6": "^4.3.2",
"@refinedev/simple-rest": "^4.5.0",
3 Replies
kapa.ai
kapa.ai12mo ago
Hi @dipbazz. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hmm, I don't know enough to give you a confident answer yet. The information extracts provided do not contain specific details about the warning you're encountering related to babel-preset-react-app and @babel/plugin-proposal-private-property-in-object. However, you can check for updates to your refine packages using the check-updates command as shown in the documentation (https://refine.dev/docs/packages/documentation/cli).
npm run refine check-updates
npm run refine check-updates
If there are updates available, you can update your refine packages with the following command:
npm run refine update
npm run refine update
If the issue persists, you might want to consider the solutions provided in the migration guide (https://refine.dev/docs/api-reference/antd/migration-guide/v4-to-v5) for compile errors after upgrading packages. These include reinstalling your node_modules or updating your react and react-dom packages to the latest versions. If none of these solutions work, I recommend reaching out to the refine community or checking the official documentation for further assistance. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai12mo ago
<@494653850632978472> kapa.ai is still learning and improving, please let us how it did by reacting below
genetic-orange
genetic-orange12mo ago
thanks. we will look into it