can't deploy
Answered
Maltese posted this in #help-forum
MalteseOP
Hello, guys! I can't deploy my project. The errors are related to paths, but in the code every pad is set correctly. Pls help
42 Replies
Answer
MalteseOP
it should be with caps
yes
@Maltese Click to see attachment
are you sure file name is
Sidebar.server?MalteseOP
also when I click ctrl+click it takes me to the component, so this means everything works fine
MalteseOP
Have you check caps of every other folder?
MalteseOP
yes
or wait
Try running
npm run build locallyMalteseOP
my repo is public on github, if you have time, pls check it and tell me if you see anything wrong
can you just try running
npm run build locally@Anay-208 Try running `npm run build` locally
MalteseOP
I already tried it
and it worked
I'll check the repo out soon!
MalteseOP
thank u
@Maltese so I was right, it was because of caps
MalteseOP
So I have to make them with small letters
I'll just create a pr for that for you to fix it
the file names are small
or nvm I'm not creating a pr
change top lines to :
import Footer from '@/components/shared/footer.server';
import React from 'react';
import Header from '@/components/shared/header.server';MalteseOP
Wait
The file names are small?
were they like that when you downloaded the repo
what wait, this is strange
in github they appear lowecase
but in local files they are upper case
why is that so?
oh I see, git works like this. It's not case sensitive
humm I learned something new today
thank you guys 🙂
@Anay-208 Check the caps when importing file
Mark this message as a solution
MalteseOP
ok
but how
Right click>apps>mark solution
Original message was deleted
Refer to this message for instructions