Hello
I am trying to run docker on my local (windows 10) via Docker image according https://redash.io/help/open-source/dev-guide/docker page.
I am getting an error like below after I run “C:\redash> docker-compose up -d” comment
……
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! redash-client@9.0.0-alpha build: npm run clean && NODE_ENV=production webpack
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the redash-client@9.0.0-alpha 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/2020-05-08T08_25_11_481Z-debug.log
ERROR: Service ‘server’ failed to build: The command ‘/bin/sh -c npm run build’ returned a non-zero code: 2
Looks like there was older Babel (6.x.x.) and the building was failing because of that. Now after upgrading to 7 it works ok and Redash UI can be compiled again.
I am struggling to get Redash to run on my Windows 10 PC.
You seem to be the only person I can find who has got it running. Which method did you use? When using the dev guide for docker I run into multiple npm errors during run build which have to do with typescript as it were.
Did you have to tweak any files from the repo to get yours working? Your help would be greatly appreciated as I am stuck on this for a week now with no end in sight
Login or sign up disabled while the site is in read only mode