Hey,
I am trying to install redash in my docker. I am following this page docker dev guide. When use this command ```
docker-compose up -d

Step 7/18 : RUN npm run build
 ---> Running in a75f5b892cc4

> redash-client@8.0.0-beta build /frontend
> npm run clean && NODE_ENV=production node --max-old-space-size=4096 node_modules/.bin/webpack


> redash-client@8.0.0-beta clean /frontend
> rm -rf ./client/dist/

Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`

**after 2 minutes error being this;**

npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! redash-client@8.0.0-beta build: `npm run clean && NODE_ENV=production node --max-old-space-size=4096 node_modules/.bin/webpack`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the redash-client@8.0.0-beta build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-07-31T10_43_24_636Z-debug.log
ERROR: Service 'server' failed to build: The command '/bin/sh -c npm run build' returned a non-zero code: 2.
**What is the problem about this?**
1 Like

Yes. I met the same problem. I stuck at
Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist
I dont know what to do.

@musahit
I had the same problem and I solved it by running fallowing command “npm i caniuse-lite browserslist”

Here is the link where I found the solution.

1 Like