Next.js Discord

Discord Forum

Next JS / Vercel deployment error

Answered
Bombay posted this in #help-forum
Open in Discord
BombayOP
I was just trying to deploy my portfolio and that happend
Answered by Giant panda
Oh well these are actual source files. Then move them into your source folder, they aren't meant to be in the public folder.
View full answer

11 Replies

Giant panda
The public folder isn't meant to have files being referenced from import statements which might be the issue, but I'm not entirely sure.
Another very likely reason is correct capitalization of files - chances are you are refering to them in PascalCase but they may have been committed to the repository with different casing causing problems, so check out what GitHub shows specifically.
Oh and if I'm not mistaken importing image files is done using a default import not a named one.
BombayOP
Giant panda
Oh well these are actual source files. Then move them into your source folder, they aren't meant to be in the public folder.
Answer
BombayOP
@Giant panda ok
DOne
@Giant panda
@Giant panda bro worked
thanks
you are my hero