• Discussion
  • Strapi Build Error - npm ERR! code ELIFECYCLE

Hello everyone, I'm encountering an issue when trying to build Strapi using the npm run build command. Here’s the error message I'm getting:

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! dca-cms@0.1.0 build: `strapi build`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the dca-cms@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I'm using Node.js version 14.19.3 and Strapi version 3.6.11 on aaPanel. Has anyone experienced this issue or know how to resolve it?

Thanks in advance!

    aaPanel_Kern Hello, the program was made using Node.js v14.19.1, but aaPanel does not have that version, so I used Node.js v14.19.3. Could this cause errors? I'm new to Node.js.

      aaPanel_Kern Yes, I have already done the installation manually, and I have even installed it multiple times, but it still shows the same error

      Hello, I suggest you consult the developer of the program