non-zero exit code: 2
מה אומרת שגיאת Netlify (אחסון) הזאת
איך זה מופיע
Build script returned non-zero exit code: 2
מה זה אומר
The build command failed, so Netlify stopped and did not deploy. The exit code is only a summary; the actual reason is printed in the build log above it.
הסיבה הנפוצה באפליקציה שנבנתה עם AI
One common cause in AI-built apps is an import whose letter case does not match the file name, such as ./header for Header.tsx. It works on Mac or Windows, but Netlify builds on a case-sensitive file system and cannot find the file.
בדקו את זה קודם
Scroll up in the Netlify build log from the exit code line and read the first error message printed before it.