Home
Support Forums

Build issue. npm ERR! code ELIFECYCLE

hello,
currently i have an issue with my wildside-prod application:
1:29:12 PM: npm ERR! code ELIFECYCLE
1:29:12 PM: npm ERR! errno 1
1:29:12 PM: npm ERR! wildside@0.1.0 build: concurrently "react-scripts build" "npm run build:lambda"
1:29:12 PM: npm ERR! Exit status 1
1:29:12 PM: npm ERR!
1:29:12 PM: npm ERR! Failed at the wildside@0.1.0 build script.
1:29:12 PM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
1:29:12 PM: npm ERR! A complete log of this run can be found in:
1:29:12 PM: npm ERR! /opt/buildhome/.npm/_logs/2021-03-08T18_29_12_182Z-debug.log
1:29:12 PM: ​
1:29:12 PM: ────────────────────────────────────────────────────────────────
1:29:12 PM: β€œbuild.command” failed
1:29:12 PM: ────────────────────────────────────────────────────────────────
1:29:12 PM: ​
1:29:12 PM: Error message
1:29:12 PM: Command failed with exit code 1: npm run build
1:29:12 PM: ​
1:29:12 PM: Error location
1:29:12 PM: In build.command from netlify.toml:
1:29:12 PM: npm run build
1:29:12 PM: ​
1:29:12 PM: Resolved config
1:29:12 PM: build:
1:29:12 PM: command: npm run build
1:29:12 PM: commandOrigin: config
1:29:12 PM: environment:
1:29:12 PM: - ADMIN_EMAIL
1:29:12 PM: - EMAIL_ACCOUNT
1:29:12 PM: - EMAIL_PASSWORD
1:29:12 PM: - FIREBASE_CLIENT_EMAIL
1:29:12 PM: - FIREBASE_PRIVATE_KEY
1:29:12 PM: functions: /opt/build/repo/lambda-build
1:29:12 PM: publish: /opt/build/repo/build
1:29:12 PM: redirects:
1:29:12 PM: - from: /*
status: 200
to: /index.html
Caching artifacts
1:29:12 PM: Started saving node modules

I cant find any logs file to debug this issue.
Also i’ve checked modules version and it seems to be correct.

Could you help me please

Hiya, sorry you are having trouble with your build.

This Support Guide contains a ton of useful debugging tips that can likely help you solve your problem :slight_smile:

We also recommend trying to search the forums with the build error you encountered - it’s likely your question was already asked by someone else!

If you are still having problems, please provide as much information as you can on what you have already tried, what your build settings are, your package.json, etc. Thanks!