I am trying to install Redash (Latest Release v8.0.0 from October 28th 2019 - https://github.com/getredash/redash/archive/v8.0.0.tar.gz) from source (cannot use Docker sorry) on: Linux debian-10 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux with 8G RAM allocated.

After multiple tries using npm install, npm ci (including npm cache clear, removing node_modules and package-lock.json file) I keep running into this build issue. The frustrating part is the error log is not pointing to any specific issue for me to dig further - so looking for some directional guidance. Thanks!

0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘run’, ‘build’ ]
2 info using npm@6.14.2
3 info using node@v13.9.0
4 verbose run-script [ ‘prebuild’, ‘build’, ‘postbuild’ ]
5 info lifecycle redash-client@8.0.0~prebuild: redash-client@8.0.0
6 info lifecycle redash-client@8.0.0~build: redash-client@8.0.0
7 verbose lifecycle redash-client@8.0.0~build: unsafe-perm in lifecycle true
8 verbose lifecycle redash-client@8.0.0~build: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/vagrant/redash-8.0.0/node_modules/.bin:/home/vagrant/vredash/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
9 verbose lifecycle redash-client@8.0.0~build: CWD: /home/vagrant/redash-8.0.0
10 silly lifecycle redash-client@8.0.0~build: Args: [
10 silly lifecycle ‘-c’,
10 silly lifecycle ‘npm run clean && NODE_ENV=production node --max-old-space-size=4096 node_modules/.bin/webpack’
10 silly lifecycle ]
11 silly lifecycle redash-client@8.0.0~build: Returned: code: 2 signal: null
12 info lifecycle redash-client@8.0.0~build: Failed to exec build script
13 verbose stack Error: redash-client@8.0.0 build: npm run clean && NODE_ENV=production node --max-old-space-size=4096 node_modules/.bin/webpack -ddd
13 verbose stack Exit status 2
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)13 verbose stack at EventEmitter.emit (events.js:321:20)
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:321:20)
13 verbose stack at maybeClose (internal/child_process.js:1026:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid redash-client@8.0.0
15 verbose cwd /home/vagrant/redash-8.0.0
16 verbose Linux 4.19.0-6-amd64
17 verbose argv “/usr/bin/node” “/usr/bin/npm” “run” “build”
18 verbose node v13.9.0
19 verbose npm v6.14.2
20 error code ELIFECYCLE
21 error errno 2
22 error redash-client@8.0.0 build: npm run clean && NODE_ENV=production node --max-old-space-size=4096 node_modules/.bin/webpack -ddd
22 error Exit status 2
23 error Failed at the redash-client@8.0.0 build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 2, true ]