-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[BUG] Only the most recent version of refine-core does not break app authentication #2183
Comments
Hey @joanaavelar , |
Hi @omeraplak, I did not upgrade any dependency. |
Hey @joanaavelar , but I cannot reproduce the error here. How can we reproduce this issue? |
Hi @omeraplak, Our login page does not call the default refine login page, it simply does an update on the url, bypassing a login page.
Our authProvider is very simple as well
When not using the most recent version of the refine-core, the refine login appears. |
Hey @joanaavelar , Managing as Remember, Upgrade all your refine dependencies to the latest version now to avoid this problem in the future 💥 |
Hi @omeraplak, After the new release of refine-core, the internationalization stopped working. |
Hey @joanaavelar , |
I've done that and it still did not work. |
I don't think there is any change that will cause this :/ FineFoods example running with latest refine version |
Can you share with me the package.json that you're using, so I can try on my end? |
Could you add .npmrc file to your project root? |
I tried to install, on my end, the example provided and I got several warnings (below are some examples) **Failed to parse source map from 'C:\Users\Downloads\refine-next\examples\fineFoods\admin\antd\node_modules@antv\layout\src\index.ts' file: Error: ENOENT: no such file or directory, open 'C:\Users\Downloads\refine-next\examples\fineFoods\admin\antd\node_modules@antv\layout\src\index.ts' Failed to parse source map from 'C:\Users\Downloads\refine-next\examples\fineFoods\admin\antd\node_modules@antv\layout\src\layout\base.ts' file: Error: ENOENT: no such file or directory, open 'C:\Users\Downloads\refine-next\examples\fineFoods\admin\antd\node_modules@antv\layout\src\layout\base.ts' Failed to parse source map from 'C:\Users\Downloads\refine-next\examples\fineFoods\admin\antd\node_modules@antv\layout\src\layout\circular.ts' file: Error: ENOENT: no such file or directory, open 'C:\Users\Downloads\refine-next\examples\fineFoods\admin\antd\node_modules@antv\layout\src\layout\circular.ts' Failed to parse source map from 'C:\Users\Downloads\refine-next\examples\fineFoods\admin\antd\node_modules@antv\layout\src\layout\comboForce.ts' file: Error: ENOENT: no such file or directory, open 'C:\Users\Downloads\refine-next\examples\fineFoods\admin\antd\node_modules@antv\layout\src\layout\comboForce.ts'** The example does run. |
This is all about react-scripts@5, you can ignore warnings |
Hi @omeraplak , Just to let you know that the problem that I was having on internationalization was a bug on my end. |
Hey @joanaavelar , |
hi @joanaavelar, any workaround to solve that internationalization bug you're encountered? I still have same redirection issues |
hi @tqyellow, "@craco/craco": "6.4.5", |
Describe the bug
On my package.json, I am freezing all my dependencies versions to avoid breaking my app.
All my refine dependencies are not in the most recent versions, except refine-core that needs to be, otherwise it breaks my app.
To Reproduce
Expected behavior
Screenshots
"engines": {
"node": ">=16.3.0"
},
"dependencies": {
"@pankod/refine-antd": "3.25.6",
"@pankod/refine-core": "3.44.0",
"@pankod/refine-react-router-v6": "3.25.2",
"@pankod/refine-simple-rest": "3.8.3",
"@testing-library/jest-dom": "5.12.0",
"@testing-library/react": "11.2.6",
"@testing-library/user-event": "12.8.3",
"@types/jest": "26.0.23",
"@types/js-cookie": "3.0.2",
"@types/node": "12.20.10",
"@types/react": "17.0.44",
"@types/react-dom": "17.0.3",
"i18next": "21.8.13",
"i18next-http-backend": "1.4.1",
"js-cookie": "3.0.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-i18next": "11.18.0",
"react-markdown": "6.0.1",
"react-mde": "11.5.0",
"react-scripts": "5.0.1",
"typescript": "4.2.4",
"web-vitals": "1.1.1",
"export-to-csv-fix-source-map": "0.2.1",
"humanize-string": "2.1.0",
"lodash": "4.17.21",
"lodash-es": "4.17.21",
"papaparse": "5.3.0",
"pluralize": "8.0.0",
"qs": "6.11.0",
"side-channel":"1.0.4",
"react-query": "3.19.2",
"tslib": "2.3.1",
"jose": "4.8.3"
},
"resolutions": {
"@types/react": "17.0.44"
},
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: