#0 58.98 gyp ERR! System Linux 5.10.124-linuxkit
#0 58.98 gyp ERR! command "/usr/local/bin/node" "/usr/src/app/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
#0 58.98 gyp ERR! cwd /usr/src/app/node_modules/node-sass
#0 58.98 gyp ERR! node -v v11.15.0
#0 58.98 gyp ERR! node-gyp -v v3.8.0
#0 58.98 gyp ERR! not ok
#0 58.99 Build failed with error code: 1
#0 59.00 npm ERR! code ELIFECYCLE
#0 59.01 npm ERR! errno 1
#0 59.01 npm ERR! node-sass@4.12.0 postinstall: `node scripts/build.js`
#0 59.01 npm ERR! Exit status 1
#0 59.01 npm ERR!
#0 59.01 npm ERR! Failed at the node-sass@4.12.0 postinstall script.
#0 59.01 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
#0 59.19
#0 59.19 npm ERR! A complete log of this run can be found in:
#0 59.19 npm ERR! /root/.npm/_logs/2022-09-12T17_29_16_815Z-debug.log
------
failed to solve: executor failed running [/bin/sh -c npm ci]: exit code: 1
when if I will run node -v separately it will give me: v12.22.12
Questions:
- why in log I have gyp ERR! node -v v11.15.0 ?
- Which versions of node/node-sass/npm need to have? i tried different combination
current my versions: node: v12.22.12 node-sass: "4.12.0" npm: 6.14.16 nvm: 0.39.1