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.
السبب المعتاد في تطبيق مبني بالذكاء الاصطناعي
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.