You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker-compose run --rm dummy sh -c "cd spec/dummy && npm install"
there's a failure when it's building nodegyp with the following output
Building: /usr/bin/node /app/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
gyp info it worked if it ends with ok
gyp verb cli [
gyp verb cli '/usr/bin/node',
gyp verb cli '/app/node_modules/node-gyp/bin/node-gyp.js',
gyp verb cli 'rebuild',
gyp verb cli '--verbose',
gyp verb cli '--libsass_ext=',
gyp verb cli '--libsass_cflags=',
gyp verb cli '--libsass_ldflags=',
gyp verb cli '--libsass_library='
gyp verb cli ]
gyp info using node-gyp@3.8.0
gyp info using node@12.22.12 | linux | arm64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking forPython executable "python2"in the PATH
gyp verb `which` failed Error: not found: python2
gyp verb `which` failed at getNotFoundError (/app/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/app/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/app/node_modules/which/which.js:80:29)
gyp verb `which` failed at /app/node_modules/which/which.js:89:16
gyp verb `which` failed at /app/node_modules/isexe/index.js:42:5
gyp verb `which` failed at /app/node_modules/isexe/mode.js:8:5
gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:168:21)
gyp verb `which` failed python2 Error: not found: python2
gyp verb `which` failed at getNotFoundError (/app/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/app/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/app/node_modules/which/which.js:80:29)
gyp verb `which` failed at /app/node_modules/which/which.js:89:16
gyp verb `which` failed at /app/node_modules/isexe/index.js:42:5
gyp verb `which` failed at /app/node_modules/isexe/mode.js:8:5
gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:168:21) {
gyp verb `which` failed code: 'ENOENT'
gyp verb `which` failed }
gyp verb check python checking forPython executable "python"in the PATH
gyp verb `which` failed Error: not found: python
gyp verb `which` failed at getNotFoundError (/app/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/app/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/app/node_modules/which/which.js:80:29)
gyp verb `which` failed at /app/node_modules/which/which.js:89:16
gyp verb `which` failed at /app/node_modules/isexe/index.js:42:5
gyp verb `which` failed at /app/node_modules/isexe/mode.js:8:5
gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:168:21)
gyp verb `which` failed python Error: not found: python
gyp verb `which` failed at getNotFoundError (/app/node_modules/which/which.js:13:12)
gyp verb `which` failed at F (/app/node_modules/which/which.js:68:19)
gyp verb `which` failed at E (/app/node_modules/which/which.js:80:29)
gyp verb `which` failed at /app/node_modules/which/which.js:89:16
gyp verb `which` failed at /app/node_modules/isexe/index.js:42:5
gyp verb `which` failed at /app/node_modules/isexe/mode.js:8:5
gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:168:21) {
gyp verb `which` failed code: 'ENOENT'
gyp verb `which` failed }
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at PythonFinder.failNoPython (/app/node_modules/node-gyp/lib/configure.js:484:19)gyp ERR! stack at PythonFinder.<anonymous> (/app/node_modules/node-gyp/lib/configure.js:406:16)gyp ERR! stack at F (/app/node_modules/which/which.js:68:16)gyp ERR! stack at E (/app/node_modules/which/which.js:80:29)gyp ERR! stack at /app/node_modules/which/which.js:89:16gyp ERR! stack at /app/node_modules/isexe/index.js:42:5gyp ERR! stack at /app/node_modules/isexe/mode.js:8:5gyp ERR! stack at FSReqCallback.oncomplete (fs.js:168:21)gyp ERR! System Linux 5.15.49-linuxkitgyp ERR! command "/usr/bin/node" "/app/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="gyp ERR! cwd /app/node_modules/node-sassgyp ERR! node -v v12.22.12gyp ERR! node-gyp -v v3.8.0gyp ERR! not okBuild failed with error code: 1> node-sass@4.14.1 postinstall /app/spec/dummy/node_modules/node-sass> node scripts/build.jsBuilding: /usr/bin/node /app/spec/dummy/node_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=gyp info it worked if it ends with okgyp verb cli [gyp verb cli '/usr/bin/node',gyp verb cli '/app/spec/dummy/node_modules/node-gyp/bin/node-gyp.js',gyp verb cli 'rebuild',gyp verb cli '--verbose',gyp verb cli '--libsass_ext=',gyp verb cli '--libsass_cflags=',gyp verb cli '--libsass_ldflags=',gyp verb cli '--libsass_library='gyp verb cli ]gyp info using node-gyp@3.8.0gyp info using node@12.22.12 | linux | arm64gyp verb command rebuild []gyp verb command clean []gyp verb clean removing "build" directorygyp verb command configure []gyp verb check python checking for Python executable "python2" in the PATHgyp verb `which` failed Error: not found: python2gyp verb `which` failed at getNotFoundError (/app/spec/dummy/node_modules/which/which.js:13:12)gyp verb `which` failed at F (/app/spec/dummy/node_modules/which/which.js:68:19)gyp verb `which` failed at E (/app/spec/dummy/node_modules/which/which.js:80:29)gyp verb `which` failed at /app/spec/dummy/node_modules/which/which.js:89:16gyp verb `which` failed at /app/spec/dummy/node_modules/isexe/index.js:42:5gyp verb `which` failed at /app/spec/dummy/node_modules/isexe/mode.js:8:5gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:168:21)gyp verb `which` failed python2 Error: not found: python2gyp verb `which` failed at getNotFoundError (/app/spec/dummy/node_modules/which/which.js:13:12)gyp verb `which` failed at F (/app/spec/dummy/node_modules/which/which.js:68:19)gyp verb `which` failed at E (/app/spec/dummy/node_modules/which/which.js:80:29)gyp verb `which` failed at /app/spec/dummy/node_modules/which/which.js:89:16gyp verb `which` failed at /app/spec/dummy/node_modules/isexe/index.js:42:5gyp verb `which` failed at /app/spec/dummy/node_modules/isexe/mode.js:8:5gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:168:21) {gyp verb `which` failed code: 'ENOENT'gyp verb `which` failed }gyp verb check python checking for Python executable "python" in the PATHgyp verb `which` failed Error: not found: pythongyp verb `which` failed at getNotFoundError (/app/spec/dummy/node_modules/which/which.js:13:12)gyp verb `which` failed at F (/app/spec/dummy/node_modules/which/which.js:68:19)gyp verb `which` failed at E (/app/spec/dummy/node_modules/which/which.js:80:29)gyp verb `which` failed at /app/spec/dummy/node_modules/which/which.js:89:16gyp verb `which` failed at /app/spec/dummy/node_modules/isexe/index.js:42:5gyp verb `which` failed at /app/spec/dummy/node_modules/isexe/mode.js:8:5gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:168:21)gyp verb `which` failed python Error: not found: pythongyp verb `which` failed at getNotFoundError (/app/spec/dummy/node_modules/which/which.js:13:12)gyp verb `which` failed at F (/app/spec/dummy/node_modules/which/which.js:68:19)gyp verb `which` failed at E (/app/spec/dummy/node_modules/which/which.js:80:29)gyp verb `which` failed at /app/spec/dummy/node_modules/which/which.js:89:16gyp verb `which` failed at /app/spec/dummy/node_modules/isexe/index.js:42:5gyp verb `which` failed at /app/spec/dummy/node_modules/isexe/mode.js:8:5gyp verb `which` failed at FSReqCallback.oncomplete (fs.js:168:21) {gyp verb `which` failed code: 'ENOENT'gyp verb `which` failed }gyp ERR! configure errorgyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (/app/spec/dummy/node_modules/node-gyp/lib/configure.js:484:19)
gyp ERR! stack at PythonFinder.<anonymous> (/app/spec/dummy/node_modules/node-gyp/lib/configure.js:406:16)
gyp ERR! stack at F (/app/spec/dummy/node_modules/which/which.js:68:16)
gyp ERR! stack at E (/app/spec/dummy/node_modules/which/which.js:80:29)
gyp ERR! stack at /app/spec/dummy/node_modules/which/which.js:89:16
gyp ERR! stack at /app/spec/dummy/node_modules/isexe/index.js:42:5
gyp ERR! stack at /app/spec/dummy/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqCallback.oncomplete (fs.js:168:21)
gyp ERR! System Linux 5.15.49-linuxkit
gyp ERR!command"/usr/bin/node""/app/spec/dummy/node_modules/node-gyp/bin/node-gyp.js""rebuild""--verbose""--libsass_ext=""--libsass_cflags=""--libsass_ldflags=""--libsass_library="
gyp ERR! cwd /app/spec/dummy/node_modules/node-sass
gyp ERR! node -v v12.22.12
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/matestack-ui-bootstrap/node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/matestack-ui-bootstrap/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-sass@4.14.1 (node_modules/matestack-ui-bootstrap/node_modules/node-sass):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-sass@4.14.1 postinstall: `node scripts/build.js`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.14.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.14.1 postinstall 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/2023-04-09T20_13_49_083Z-debug.log
What is the expected behavior?
I should be able to run npm install from within spec/dummy in the docker container without a build failure.
A similar build problem occurred while attempting to contribute to matestack-ui-vuejs and the solution was to add gcompat to the list of packages in the Dockerfile. However, the issue on matestack-ui-vuejs was for a different reason.
Which versions of Matestack, and which browser/OS are affected by this issue? Did this work in previous versions of Matestack?
What is the current behavior?
Following the contribution guide on matestack-ui-vue-js contribution section for the dummy app setup, after running pre-requisite steps and running
docker-compose run --rm dummy sh -c "cd spec/dummy && npm install"
there's a failure when it's building
nodegyp
with the following outputWhat is the expected behavior?
I should be able to run
npm install
from withinspec/dummy
in the docker container without a build failure.A similar build problem occurred while attempting to contribute to matestack-ui-vuejs and the solution was to add
gcompat
to the list of packages in the Dockerfile. However, the issue on matestack-ui-vuejs was for a different reason.Which versions of Matestack, and which browser/OS are affected by this issue? Did this work in previous versions of Matestack?
The text was updated successfully, but these errors were encountered: