why this errors

why this errors
src/App.tsx:1:10 - error TS2305: Module '"@refinedev/core"' has no exported member 'Authenticated'.

1 import { Authenticated, GitHubBanner, Refine } from "@refinedev/core";
~~~~~~~~~~~~~

src/App.tsx:1:25 - error TS2305: Module '"@refinedev/core"' has no exported member 'GitHubBanner'.

1 import { Authenticated, GitHubBanner, Refine } from "@refinedev/core";
~~~~~~~~~~~~

src/App.tsx:1:39 - error TS2305: Module '"@refinedev/core"' has no exported member 'Refine'.

1 import { Authenticated, GitHubBanner, Refine } from "@refinedev/core";
~~~~~~

src/App.tsx:6:3 - error TS2305: Module '"@refinedev/antd"' has no exported member 'ErrorComponent'.

6 ErrorComponent,
~~~~~~~~~~~~~~

src/App.tsx:7:3 - error TS2305: Module '"@refinedev/antd"' has no exported member 'ThemedLayoutV2'.

7 ThemedLayoutV2,
~~~~~~~~~~~~~~

src/App.tsx:8:3 - error TS2305: Module '"@refinedev/antd"' has no exported member 'ThemedSiderV2'.

8 ThemedSiderV2,
~~~~~~~~~~~~~

src/App.tsx:9:3 - error TS2305: Module '"@refinedev/antd"' has no exported member 'useNotificationProvider'.

9 useNotificationProvider,
~~~~~~~~~~~~~~~~~~~~~~~

src/App.tsx:92:35 - error TS7006: Parameter 'props' implicitly has an 'any' type.

92 Sider={(props) => <ThemedSiderV2 {...props} fixed />}
~~~~~

src/authProvider.ts:6:19 - error TS7031: Binding element 'username' implicitly has an 'any' type.

6 login: async ({ username, email, password }) => {
~~~~~~~~

src/authProvider.ts:6:29 - error TS7031: Binding element 'email' implicitly has an 'any' type.

6 login: async ({ username, email, password }) => {
src/App.tsx:1:10 - error TS2305: Module '"@refinedev/core"' has no exported member 'Authenticated'.

1 import { Authenticated, GitHubBanner, Refine } from "@refinedev/core";
~~~~~~~~~~~~~

src/App.tsx:1:25 - error TS2305: Module '"@refinedev/core"' has no exported member 'GitHubBanner'.

1 import { Authenticated, GitHubBanner, Refine } from "@refinedev/core";
~~~~~~~~~~~~

src/App.tsx:1:39 - error TS2305: Module '"@refinedev/core"' has no exported member 'Refine'.

1 import { Authenticated, GitHubBanner, Refine } from "@refinedev/core";
~~~~~~

src/App.tsx:6:3 - error TS2305: Module '"@refinedev/antd"' has no exported member 'ErrorComponent'.

6 ErrorComponent,
~~~~~~~~~~~~~~

src/App.tsx:7:3 - error TS2305: Module '"@refinedev/antd"' has no exported member 'ThemedLayoutV2'.

7 ThemedLayoutV2,
~~~~~~~~~~~~~~

src/App.tsx:8:3 - error TS2305: Module '"@refinedev/antd"' has no exported member 'ThemedSiderV2'.

8 ThemedSiderV2,
~~~~~~~~~~~~~

src/App.tsx:9:3 - error TS2305: Module '"@refinedev/antd"' has no exported member 'useNotificationProvider'.

9 useNotificationProvider,
~~~~~~~~~~~~~~~~~~~~~~~

src/App.tsx:92:35 - error TS7006: Parameter 'props' implicitly has an 'any' type.

92 Sider={(props) => <ThemedSiderV2 {...props} fixed />}
~~~~~

src/authProvider.ts:6:19 - error TS7031: Binding element 'username' implicitly has an 'any' type.

6 login: async ({ username, email, password }) => {
~~~~~~~~

src/authProvider.ts:6:29 - error TS7031: Binding element 'email' implicitly has an 'any' type.

6 login: async ({ username, email, password }) => {
other-emerald
other-emeraldā€¢12d ago
Hey @_mercury, sorry for the issue. Looks like the latest release has some issues with typescript v4. Upgrading to typescript 5 will resolve this issue for now but we're working on a fix for older versions šŸš€
narrow-beige
narrow-beigeā€¢12d ago
ty for care tsc -v Version 5.4.5 i have ts 5.4
other-emerald
other-emeraldā€¢12d ago
Is this the version of the globally installed one or in your node_modules?
narrow-beige
narrow-beigeā€¢12d ago
global
other-emerald
other-emeraldā€¢12d ago
Try upgrading the one in the project
narrow-beige
narrow-beigeā€¢12d ago
yes works thx how to make this resolved āœ…
More Posts
building starter app yields many errorslike these ```ts src/App.tsx:1:10 - error TS2305: Module '"@refinedev/core"' has no exported memberis the design nearly the same between UIs?should i use mantine or ant ? will ant add value to the design ? bc i know it is slow ? or you provAccess data provider in child componentHow can i access data provider in a child component? I want to get the api base url in my componentHello! New Front/Backend dev hereHello there I've taken interest on refine etc and I want to learn it I know it's based on React Jsaxios errorIm getting error on axios instance after update refine. Im using Strapi 4 Type 'AxiosInstance' is miHow to extract <Routes> to a new fileHow to extract <Routes> to a new file as it is too long in App.tsxHow to extact resources for <Refine> to a new file in App.tsxAs reources option is too long, i want to extract it to a new file, i tried but failed. btw, i use dependent selecthow can i make a select that will be disabled by default and filled with data from a custom resourceSubscriptionI have a case where I want to subscribe to Notifications - meaning when a new notification data is a#nextjs #supabase need a boilerplate refine nextjs+supabase?Hello all can someone give a link or choice of solid boilerplate based on refine nextjs and supabaseselectPropsis it possible to concat the optionLabel in selectProps so onselect show for example two diferent laSupabase IndexHow do I useList an index from Supabase? Or is it not useList?Filtering nestjs graphql useCustomHow can I pass the filtering value to graphql queryLive provider exampleI am using django strawberry backend with graphql. I want to start a live provider from refine. Canproduction modeafter refine build, how can i satrt a refine project in production mode ? i'm using pm2 and i would useOneHow to extract the value that is in another resource Ex: I wanto to extract the the iten.name fromHello, I started my first small RefineHello, I started my first small Refine project ~5 months ago as a backend dev. Now I need to add somuseStateHow to setState of one route to be accessible in another route? Ex: <EditButton resource = useAutocomplete defaultValues won't workHi, I want to use autoComplete in edit page. I use it like below but it didn't call "many" request.Next.js 14 - Module '"next/navigation"' has no exported member 'usePathname'.https://github.com/vercel/next.js/issues/46360