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

Compiled with problem #1

Open
LaomediAz opened this issue Apr 20, 2023 · 3 comments
Open

Compiled with problem #1

LaomediAz opened this issue Apr 20, 2023 · 3 comments

Comments

@LaomediAz
Copy link

hello sir,thank you for making this great project
it looks good but i cannot run as when i run i get a page with those errors
any help would be appreciated thank you :)

Compiled with problems:X

ERROR in ./src/pages/PatientPage/myEmr/index.tsx 8:0-51

Module not found: Error: Cannot find file: 'Headers.tsx' does not match the corresponding name on disk: '.\src\components\TableData\headers.tsx'.

ERROR in ./src/pages/PatientPage/reservationHistory/index.tsx 8:0-51

Module not found: Error: Cannot find file: 'Headers.tsx' does not match the corresponding name on disk: '.\src\components\TableData\headers.tsx'.

ERROR in ./src/pages/PatientPage/schedule/index.tsx 8:0-51

Module not found: Error: Cannot find file: 'Headers.tsx' does not match the corresponding name on disk: '.\src\components\TableData\headers.tsx'.

ERROR in ./src/pages/doctor/emrHistory/index.tsx 8:0-51

Module not found: Error: Cannot find file: 'Headers.tsx' does not match the corresponding name on disk: '.\src\components\TableData\headers.tsx'.

ERROR in ./src/pages/doctor/patientQueue/index.tsx 8:0-51

Module not found: Error: Cannot find file: 'Headers.tsx' does not match the corresponding name on disk: '.\src\components\TableData\headers.tsx'.

ERROR in ./src/pages/login/index.tsx 8:0-43

Module not found: Error: Cannot find file: 'index.tsx' does not match the corresponding name on disk: '.\src\components\Signin\SignIn'.

ERROR in ./src/pages/receptionist/IncomingReservation/index.tsx 7:0-51

Module not found: Error: Cannot find file: 'Headers.tsx' does not match the corresponding name on disk: '.\src\components\TableData\headers.tsx'.

ERROR in ./src/pages/receptionist/QueuePatient/index.tsx 8:0-51

Module not found: Error: Cannot find file: 'Headers.tsx' does not match the corresponding name on disk: '.\src\components\TableData\headers.tsx'.

ERROR in ./src/routers/root.routers.tsx 10:0-61

Module not found: Error: Cannot find file: 'index.tsx' does not match the corresponding name on disk: '.\src\pages\receptionist\queueMedicine\queuemedicine'.

ERROR in src/components/SignIn/index.tsx:12:29

TS1149: File name 'C:/Users/Aziz/sehatin/src/components/SignIn/types.ts' differs from already included file name 'C:/Users/Aziz/sehatin/src/components/Signin/types.ts' only in casing.
The file is in the program because:
Imported via './types' from file 'C:/Users/Aziz/sehatin/src/components/Signin/index.tsx'
Imported via './types' from file 'C:/Users/Aziz/sehatin/src/components/SignIn/index.tsx'
10 | } from "@chakra-ui/react";
11 | import { Link as RouteLink } from "react-router-dom";

12 | import { SignInProps } from './types';
| ^^^^^^^^^
13 |
14 | function SignIn({ onChange, emailValue, passwordValue, onSubmit }: SignInProps) {
15 | const textColor = useColorModeValue("gray.700", "white");

ERROR in src/pages/doctor/emrHistory/index.tsx:4:21

TS1261: Already included file name 'C:/Users/Aziz/sehatin/src/components/TableData/Headers.tsx' differs from file name 'C:/Users/Aziz/sehatin/src/components/TableData/headers.tsx' only in casing.
The file is in the program because:
Imported via 'components/TableData/Headers' from file 'C:/Users/Aziz/sehatin/src/pages/doctor/emrHistory/index.tsx'
Imported via "components/TableData/Headers" from file 'C:/Users/Aziz/sehatin/src/pages/doctor/patientQueue/index.tsx'
Imported via "components/TableData/Headers" from file 'C:/Users/Aziz/sehatin/src/pages/receptionist/queueMedicine/index.tsx'
Imported via "components/TableData/Headers" from file 'C:/Users/Aziz/sehatin/src/pages/receptionist/IncomingReservation/index.tsx'
Imported via "components/TableData/Headers" from file 'C:/Users/Aziz/sehatin/src/pages/receptionist/QueuePatient/index.tsx'
Imported via "components/TableData/Headers" from file 'C:/Users/Aziz/sehatin/src/pages/PatientPage/schedule/index.tsx'
Imported via 'components/TableData/Headers' from file 'C:/Users/Aziz/sehatin/src/pages/PatientPage/myEmr/index.tsx'
Imported via "components/TableData/Headers" from file 'C:/Users/Aziz/sehatin/src/pages/PatientPage/reservationHistory/index.tsx'
Imported via "components/TableData/Headers" from file 'C:/Users/Aziz/sehatin/src/pages/receptionist/queuemedicine/index.tsx'
Root file specified for compilation
2 |
3 | import SidebarWithHeader from 'components/Sidebar';

4 | import Headers from 'components/TableData/Headers';
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5 | import Rows from 'components/TableData/rows';
6 | import { useEffect, useState } from "react";
7 | import EmrHistoryData from "types/EmrHistoryData";

ERROR in src/pages/login/index.tsx:3:24

TS1261: Already included file name 'C:/Users/Aziz/sehatin/src/components/Signin/index.tsx' differs from file name 'C:/Users/Aziz/sehatin/src/components/SignIn/index.tsx' only in casing.
The file is in the program because:
Imported via "components/Signin" from file 'C:/Users/Aziz/sehatin/src/pages/login/index.tsx'
Imported via '../Signin' from file 'C:/Users/Aziz/sehatin/src/components/SignIn/index.test.tsx'
Root file specified for compilation
1 | import { useFormik } from "formik";
2 | import { useNavigate } from "react-router-dom";

3 | import SignInForm from "components/Signin";
| ^^^^^^^^^^^^^^^^^^^
4 | import useAuth from "hooks/useAuth";
5 |
6 | function Login() {

ERROR in src/pages/receptionist/queuemedicine/index.tsx:7:37

TS1149: File name 'C:/Users/Aziz/sehatin/src/pages/receptionist/queuemedicine/types/queue/index.ts' differs from already included file name 'C:/Users/Aziz/sehatin/src/pages/receptionist/queueMedicine/types/queue/index.ts' only in casing.
The file is in the program because:
Imported via "./types/queue" from file 'C:/Users/Aziz/sehatin/src/pages/receptionist/queueMedicine/index.tsx'
Imported via "./types/queue" from file 'C:/Users/Aziz/sehatin/src/pages/receptionist/queuemedicine/index.tsx'
5 | import { useEffect, useState } from "react";
6 | import Rows from "components/TableData/rows";

7 | import { QUEUE_TYPE_MEDICINE } from "./types/queue";
| ^^^^^^^^^^^^^^^
8 |
9 | const QueueMedicine = () => {
10 | const [billingQueue, setBillingQueue] = useState([]);

ERROR in src/routers/root.routers.tsx:8:27

TS1261: Already included file name 'C:/Users/Aziz/sehatin/src/pages/receptionist/queueMedicine/index.tsx' differs from file name 'C:/Users/Aziz/sehatin/src/pages/receptionist/queuemedicine/index.tsx' only in casing.
The file is in the program because:
Imported via "pages/receptionist/queueMedicine" from file 'C:/Users/Aziz/sehatin/src/routers/root.routers.tsx'
Root file specified for compilation
6 |
7 | // Receptionist

8 | import QueueMedicine from "pages/receptionist/queueMedicine";
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9 | import Incoming from "pages/receptionist/IncomingReservation";
10 | import Antrian from "pages/receptionist/QueuePatient";
11 |

@rhenaldkarrel
Copy link
Owner

Hi, thank you for referencing my project and reporting the issue! This was the issue I want to solve previously. Because as you can read in the README, this repository is not the original repository. This is a repository that I was hoping to resolve the issue you mentioned. However, initially, I thought it was fixed (tested it in my local environment). But since this issue still exists based on your report, I think I'll figure out another way to resolve this issue.

I'll report the update here! Thanks.

@rhenaldkarrel
Copy link
Owner

I need detailed information from you @LaomediAz, are you cloning this git repository or downloading it as a .zip file?

@LaomediAz
Copy link
Author

LaomediAz commented May 10, 2023 via email

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

2 participants