-
Hi everyone, I'm currently trying to build a project in Github Pages, but I'm facing with an issue during the build in github
Tho locally build finishes successfully without any issues.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Are you using SVGs? Are you using Windows locally? |
Beta Was this translation helpful? Give feedback.
-
I think you're passing the |
Beta Was this translation helpful? Give feedback.
-
Hey, it usually happens during 🔎 What the error is saying: This usually means that ✅ Here's what you can double-check: 1. Make sure your component has a proper default exportInside: const ProjectInfoSection = ({ projectInfo }) => {
return (
<div>
{/* your JSX here */}
</div>
);
};
export default ProjectInfoSection; If you’re using a named export instead: export const ProjectInfoSection = ... Then your import must be: import { ProjectInfoSection } from "@/components/project-info-section/ProjectInfoSection"; 2. Log what you're importing just to confirm it's a function componentRight before using it: console.log("Component:", ProjectInfoSection); If it logs 3. Check your
|
Beta Was this translation helpful? Give feedback.
Also make sure that your config files are committed and such. I am guessing an SVG import is at fault here, but without a repository to look at... it could also be a bunch of other things.