Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build error #4125

Closed
jzdayz opened this issue Sep 6, 2019 · 1 comment
Closed

docker build error #4125

jzdayz opened this issue Sep 6, 2019 · 1 comment

Comments

@jzdayz
Copy link

jzdayz commented Sep 6, 2019

When I tried to build with docker, the following exception occurred.

step

  1. git clone https://github.com/getredash/redash.git
  2. cd redash/
  3. docker-compose up -d

error

Building server
Step 1/18 : FROM node:10 as frontend-builder
 ---> f7949667ac49
Step 2/18 : WORKDIR /frontend
 ---> Using cache
 ---> eb81106e55fc
Step 3/18 : COPY package.json package-lock.json /frontend/
 ---> Using cache
 ---> 872b311d01d2
Step 4/18 : RUN npm install
 ---> Using cache
 ---> 7eaf0c38003c
Step 5/18 : COPY client /frontend/client
 ---> Using cache
 ---> ada93afcf399
Step 6/18 : COPY webpack.config.js /frontend/
 ---> Using cache
 ---> b780ef345423
Step 7/18 : RUN npm run build
 ---> Running in 0f5f44355b25

> 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`
Killed
npm ERR! code ELIFECYCLE
npm ERR! errno 137
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 137
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-09-06T03_31_24_866Z-debug.log
ERROR: Service 'server' failed to build: The command '/bin/sh -c npm run build' returned a non-zero code: 137
@support
Copy link

support bot commented Sep 6, 2019

👋 @M-make, we use the issue tracker exclusively for bug reports and planned work. However, this issue appears to be a support request. Please use our forum to get help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant