correct-apricot
correct-apricot3mo ago

building starter app yields many errors

like these
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: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";
~~~~~~
Found 54 errors in 15 files.

Errors Files
8 src/App.tsx:1
4 src/authProvider.ts:6
2 src/components/header/index.tsx:1
1 src/contexts/color-mode/index.tsx:1
3 src/pages/blog-posts/create.tsx:1
3 src/pages/blog-posts/edit.tsx:1
10 src/pages/blog-posts/list.tsx:2
7 src/pages/blog-posts/show.tsx:2
2 src/pages/categories/create.tsx:1
2 src/pages/categories/edit.tsx:1
5 src/pages/categories/list.tsx:2
4 src/pages/categories/show.tsx:1
1 src/pages/forgotPassword/index.tsx:1
1 src/pages/login/index.tsx:1
1 src/pages/register/index.tsx:1
Found 54 errors in 15 files.

Errors Files
8 src/App.tsx:1
4 src/authProvider.ts:6
2 src/components/header/index.tsx:1
1 src/contexts/color-mode/index.tsx:1
3 src/pages/blog-posts/create.tsx:1
3 src/pages/blog-posts/edit.tsx:1
10 src/pages/blog-posts/list.tsx:2
7 src/pages/blog-posts/show.tsx:2
2 src/pages/categories/create.tsx:1
2 src/pages/categories/edit.tsx:1
5 src/pages/categories/list.tsx:2
4 src/pages/categories/show.tsx:1
1 src/pages/forgotPassword/index.tsx:1
1 src/pages/login/index.tsx:1
1 src/pages/register/index.tsx:1
3 Replies
kapa.ai
kapa.ai3mo ago
Hi @_mercury. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Based on the error messages you've provided, it seems like there might be an issue with the way you're importing modules from @refinedev/core. The error messages indicate that the Authenticated, GitHubBanner, and Refine members are not being exported from @refinedev/core. This could be due to a few reasons: 1. The members you're trying to import do not exist in the @refinedev/core package. You might be using an outdated version of the package or the members might have been removed in a recent update. 2. There might be a typo in the member names. Ensure that the member names are spelled correctly and match the ones in the @refinedev/core package. 3. The members might be exported from a different module within the @refinedev/core package. In this case, you would need to adjust your import statement to import from the correct module. To resolve this issue, you should first check the version of @refinedev/core you're using and ensure it's up to date. You can do this by running npm list @refinedev/core in your terminal. If you're using an outdated version, you can update it by running npm update @refinedev/core. Next, you should check the documentation for @refinedev/core to see if the members you're trying to import exist and are being exported from the package. If the members do not exist or are not being exported, you will need to adjust your code accordingly. If you're still having issues after checking these things, it might be helpful to post a question on the Refine GitHub Discussions (https://github.com/refinedev/refine/discussions) page or the Refine Discord server (https://discord.com/channels/837692625737613362/1208733702008602655) for more specific help. Please note that the information provided is based on the knowledge sources provided and may not fully resolve your issue. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai3mo ago
<@442345470468030474> kapa.ai is still learning and improving, please let us know how it did by reacting below
correct-apricot
correct-apricot3mo ago
i did not edit anything in the app so should not give errs