make-sense icon indicating copy to clipboard operation
make-sense copied to clipboard

gyp verb check python checking for Python executable "python" in the PATH

Open narulkargunjan opened this issue 3 years ago • 3 comments

Describe the bug Simply great work. Am trying to work with this. While building the docker image, facing issues: "gyp verb check python checking for Python executable "python" in the PATH".

Steps followed:

  1. git clone https://github.com/SkalskiP/make-sense.git
  2. cd make-sense
  3. docker build -t make_sense docker/

Error: Sending build context to Docker daemon 2.048kB Step 1/5 : FROM node:11.10-slim 11.10-slim: Pulling from library/node 42367302fc78: Pull complete 6cde3cb8d6c0: Pull complete 0da1cc9d47bf: Pull complete 04fc60bb6dad: Pull complete Digest: sha256:97de83f6b384a595fac2a0898cf021e80180a7ffa96bb3b6281ef516f148cd25 Status: Downloaded newer image for node:11.10-slim ---> 9203ea9c8dd4 Step 2/5 : RUN apt-get update && apt-get -y install git && rm -rf /var/lib/apt/lists/* ---> Running in 802408ba3902 Get:1 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB] Ign:2 http://deb.debian.org/debian stretch InRelease Get:3 http://deb.debian.org/debian stretch-updates InRelease [93.6 kB] Get:4 http://deb.debian.org/debian stretch Release [118 kB] Get:5 http://deb.debian.org/debian stretch Release.gpg [2410 B] Get:6 http://security.debian.org/debian-security stretch/updates/main arm64 Packages [580 kB] Get:7 http://deb.debian.org/debian stretch-updates/main arm64 Packages [2580 B] Get:8 http://deb.debian.org/debian stretch/main arm64 Packages [6921 kB] Fetched 7770 kB in 4s (1776 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1 libgdbm3 libgpm2 libncurses5 libperl5.24 libpopt0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 netbase openssh-client patch perl perl-base perl-modules-5.24 rename rsync xauth Suggested packages: gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn gpm keychain libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc libterm-readline-gnu-perl | libterm-readline-perl-perl make openssh-server The following NEW packages will be installed: git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1 libgdbm3 libgpm2 libncurses5 libperl5.24 libpopt0 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 netbase openssh-client patch perl perl-modules-5.24 rename rsync xauth The following packages will be upgraded: perl-base 1 upgraded, 28 newly installed, 0 to remove and 31 not upgraded. Need to get 15.9 MB of archives. After this operation, 78.5 MB of additional disk space will be used. Get:1 http://security.debian.org/debian-security stretch/updates/main arm64 libcurl3-gnutls arm64 7.52.1-5+deb9u12 [253 kB] Get:2 http://deb.debian.org/debian stretch/main arm64 perl-base arm64 5.24.1-3+deb9u7 [1189 kB] Get:3 http://security.debian.org/debian-security stretch/updates/main arm64 libx11-data all 2:1.6.4-3+deb9u3 [291 kB] Get:4 http://security.debian.org/debian-security stretch/updates/main arm64 libx11-6 arm64 2:1.6.4-3+deb9u3 [688 kB] Get:5 http://deb.debian.org/debian stretch/main arm64 perl-modules-5.24 all 5.24.1-3+deb9u7 [2723 kB] Get:6 http://deb.debian.org/debian stretch/main arm64 libgdbm3 arm64 1.8.3-14 [28.2 kB] Get:7 http://deb.debian.org/debian stretch/main arm64 libperl5.24 arm64 5.24.1-3+deb9u7 [3283 kB] Get:8 http://deb.debian.org/debian stretch/main arm64 perl arm64 5.24.1-3+deb9u7 [218 kB] Get:9 http://deb.debian.org/debian stretch/main arm64 libexpat1 arm64 2.2.0-2+deb9u3 [70.9 kB] Get:10 http://deb.debian.org/debian stretch/main arm64 liberror-perl all 0.17024-1 [26.9 kB] Get:11 http://deb.debian.org/debian stretch/main arm64 git-man all 1:2.11.0-3+deb9u7 [1436 kB] Get:12 http://deb.debian.org/debian stretch/main arm64 git arm64 1:2.11.0-3+deb9u7 [3772 kB] Get:13 http://deb.debian.org/debian stretch/main arm64 libxau6 arm64 1:1.0.8-1 [19.2 kB] Get:14 http://deb.debian.org/debian stretch/main arm64 libpopt0 arm64 1.16-10+b2 [45.7 kB] Get:15 http://deb.debian.org/debian stretch/main arm64 netbase all 5.4 [19.1 kB] Get:16 http://deb.debian.org/debian stretch/main arm64 less arm64 481-2.1 [116 kB] Get:17 http://deb.debian.org/debian stretch/main arm64 libbsd0 arm64 0.8.3-1 [77.8 kB] Get:18 http://deb.debian.org/debian stretch/main arm64 libncurses5 arm64 6.0+20161126-1+deb9u2 [75.4 kB] Get:19 http://deb.debian.org/debian stretch/main arm64 libedit2 arm64 3.1-20160903-3 [71.6 kB] Get:20 http://deb.debian.org/debian stretch/main arm64 libgpm2 arm64 1.20.4-6.2+b1 [33.3 kB] Get:21 http://deb.debian.org/debian stretch/main arm64 openssh-client arm64 1:7.4p1-10+deb9u7 [699 kB] Get:22 http://deb.debian.org/debian stretch/main arm64 libxdmcp6 arm64 1:1.1.2-3 [25.4 kB] Get:23 http://deb.debian.org/debian stretch/main arm64 libxcb1 arm64 1.12-1 [126 kB] Get:24 http://deb.debian.org/debian stretch/main arm64 libxext6 arm64 2:1.3.3-1+b2 [48.6 kB] Get:25 http://deb.debian.org/debian stretch/main arm64 libxmuu1 arm64 2:1.1.2-2 [23.2 kB] Get:26 http://deb.debian.org/debian stretch/main arm64 patch arm64 2.7.5-1+deb9u2 [101 kB] Get:27 http://deb.debian.org/debian stretch/main arm64 rename all 0.20-4 [12.5 kB] Get:28 http://deb.debian.org/debian stretch/main arm64 rsync arm64 3.1.2-1+deb9u2 [367 kB] Get:29 http://deb.debian.org/debian stretch/main arm64 xauth arm64 1:1.0.9-1+b2 [37.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 15.9 MB in 2s (5598 kB/s) (Reading database ... 7096 files and directories currently installed.) Preparing to unpack .../perl-base_5.24.1-3+deb9u7_arm64.deb ... Unpacking perl-base (5.24.1-3+deb9u7) over (5.24.1-3+deb9u5) ... Setting up perl-base (5.24.1-3+deb9u7) ... Selecting previously unselected package perl-modules-5.24. (Reading database ... 7096 files and directories currently installed.) Preparing to unpack .../00-perl-modules-5.24_5.24.1-3+deb9u7_all.deb ... Unpacking perl-modules-5.24 (5.24.1-3+deb9u7) ... Selecting previously unselected package libgdbm3:arm64. Preparing to unpack .../01-libgdbm3_1.8.3-14_arm64.deb ... Unpacking libgdbm3:arm64 (1.8.3-14) ... Selecting previously unselected package libperl5.24:arm64. Preparing to unpack .../02-libperl5.24_5.24.1-3+deb9u7_arm64.deb ... Unpacking libperl5.24:arm64 (5.24.1-3+deb9u7) ... Selecting previously unselected package perl. Preparing to unpack .../03-perl_5.24.1-3+deb9u7_arm64.deb ... Unpacking perl (5.24.1-3+deb9u7) ... Selecting previously unselected package libcurl3-gnutls:arm64. Preparing to unpack .../04-libcurl3-gnutls_7.52.1-5+deb9u12_arm64.deb ... Unpacking libcurl3-gnutls:arm64 (7.52.1-5+deb9u12) ... Selecting previously unselected package libexpat1:arm64. Preparing to unpack .../05-libexpat1_2.2.0-2+deb9u3_arm64.deb ... Unpacking libexpat1:arm64 (2.2.0-2+deb9u3) ... Selecting previously unselected package liberror-perl. Preparing to unpack .../06-liberror-perl_0.17024-1_all.deb ... Unpacking liberror-perl (0.17024-1) ... Selecting previously unselected package git-man. Preparing to unpack .../07-git-man_1%3a2.11.0-3+deb9u7_all.deb ... Unpacking git-man (1:2.11.0-3+deb9u7) ... Selecting previously unselected package git. Preparing to unpack .../08-git_1%3a2.11.0-3+deb9u7_arm64.deb ... Unpacking git (1:2.11.0-3+deb9u7) ... Selecting previously unselected package libxau6:arm64. Preparing to unpack .../09-libxau6_1%3a1.0.8-1_arm64.deb ... Unpacking libxau6:arm64 (1:1.0.8-1) ... Selecting previously unselected package libpopt0:arm64. Preparing to unpack .../10-libpopt0_1.16-10+b2_arm64.deb ... Unpacking libpopt0:arm64 (1.16-10+b2) ... Selecting previously unselected package netbase. Preparing to unpack .../11-netbase_5.4_all.deb ... Unpacking netbase (5.4) ... Selecting previously unselected package less. Preparing to unpack .../12-less_481-2.1_arm64.deb ... Unpacking less (481-2.1) ... Selecting previously unselected package libbsd0:arm64. Preparing to unpack .../13-libbsd0_0.8.3-1_arm64.deb ... Unpacking libbsd0:arm64 (0.8.3-1) ... Selecting previously unselected package libncurses5:arm64. Preparing to unpack .../14-libncurses5_6.0+20161126-1+deb9u2_arm64.deb ... Unpacking libncurses5:arm64 (6.0+20161126-1+deb9u2) ... Selecting previously unselected package libedit2:arm64. Preparing to unpack .../15-libedit2_3.1-20160903-3_arm64.deb ... Unpacking libedit2:arm64 (3.1-20160903-3) ... Selecting previously unselected package libgpm2:arm64. Preparing to unpack .../16-libgpm2_1.20.4-6.2+b1_arm64.deb ... Unpacking libgpm2:arm64 (1.20.4-6.2+b1) ... Selecting previously unselected package openssh-client. Preparing to unpack .../17-openssh-client_1%3a7.4p1-10+deb9u7_arm64.deb ... Unpacking openssh-client (1:7.4p1-10+deb9u7) ... Selecting previously unselected package libxdmcp6:arm64. Preparing to unpack .../18-libxdmcp6_1%3a1.1.2-3_arm64.deb ... Unpacking libxdmcp6:arm64 (1:1.1.2-3) ... Selecting previously unselected package libxcb1:arm64. Preparing to unpack .../19-libxcb1_1.12-1_arm64.deb ... Unpacking libxcb1:arm64 (1.12-1) ... Selecting previously unselected package libx11-data. Preparing to unpack .../20-libx11-data_2%3a1.6.4-3+deb9u3_all.deb ... Unpacking libx11-data (2:1.6.4-3+deb9u3) ... Selecting previously unselected package libx11-6:arm64. Preparing to unpack .../21-libx11-6_2%3a1.6.4-3+deb9u3_arm64.deb ... Unpacking libx11-6:arm64 (2:1.6.4-3+deb9u3) ... Selecting previously unselected package libxext6:arm64. Preparing to unpack .../22-libxext6_2%3a1.3.3-1+b2_arm64.deb ... Unpacking libxext6:arm64 (2:1.3.3-1+b2) ... Selecting previously unselected package libxmuu1:arm64. Preparing to unpack .../23-libxmuu1_2%3a1.1.2-2_arm64.deb ... Unpacking libxmuu1:arm64 (2:1.1.2-2) ... Selecting previously unselected package patch. Preparing to unpack .../24-patch_2.7.5-1+deb9u2_arm64.deb ... Unpacking patch (2.7.5-1+deb9u2) ... Selecting previously unselected package rename. Preparing to unpack .../25-rename_0.20-4_all.deb ... Unpacking rename (0.20-4) ... Selecting previously unselected package rsync. Preparing to unpack .../26-rsync_3.1.2-1+deb9u2_arm64.deb ... Unpacking rsync (3.1.2-1+deb9u2) ... Selecting previously unselected package xauth. Preparing to unpack .../27-xauth_1%3a1.0.9-1+b2_arm64.deb ... Unpacking xauth (1:1.0.9-1+b2) ... Setting up libncurses5:arm64 (6.0+20161126-1+deb9u2) ... Setting up perl-modules-5.24 (5.24.1-3+deb9u7) ... Setting up libgdbm3:arm64 (1.8.3-14) ... Setting up libperl5.24:arm64 (5.24.1-3+deb9u7) ... Setting up git-man (1:2.11.0-3+deb9u7) ... Setting up libpopt0:arm64 (1.16-10+b2) ... Setting up libexpat1:arm64 (2.2.0-2+deb9u3) ... Setting up less (481-2.1) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline Setting up libgpm2:arm64 (1.20.4-6.2+b1) ... Setting up libcurl3-gnutls:arm64 (7.52.1-5+deb9u12) ... Setting up libbsd0:arm64 (0.8.3-1) ... Setting up rsync (3.1.2-1+deb9u2) ... invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of restart. Setting up perl (5.24.1-3+deb9u7) ... update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/rename.1.gz because associated file /usr/share/man/man1/prename.1.gz (of link group rename) doesn't exist Setting up patch (2.7.5-1+deb9u2) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Setting up libxdmcp6:arm64 (1:1.1.2-3) ... Setting up libx11-data (2:1.6.4-3+deb9u3) ... Setting up libxau6:arm64 (1:1.0.8-1) ... Setting up netbase (5.4) ... Setting up libedit2:arm64 (3.1-20160903-3) ... Setting up liberror-perl (0.17024-1) ... Setting up rename (0.20-4) ... update-alternatives: using /usr/bin/file-rename to provide /usr/bin/rename (rename) in auto mode update-alternatives: warning: skip creation of /usr/share/man/man1/rename.1.gz because associated file /usr/share/man/man1/file-rename.1p.gz (of link group rename) doesn't exist Setting up openssh-client (1:7.4p1-10+deb9u7) ... Setting up libxcb1:arm64 (1.12-1) ... Setting up git (1:2.11.0-3+deb9u7) ... Setting up libx11-6:arm64 (2:1.6.4-3+deb9u3) ... Setting up libxmuu1:arm64 (2:1.1.2-2) ... Setting up libxext6:arm64 (2:1.3.3-1+b2) ... Setting up xauth (1:1.0.9-1+b2) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Removing intermediate container 802408ba3902 ---> 5ac64d874112 Step 3/5 : RUN mkdir /workspace && cd /workspace && git clone https://github.com/SkalskiP/make-sense.git && cd make-sense && npm install ---> Running in b082489718af Cloning into 'make-sense'... Checking out files: 100% (307/307), done.

[email protected] install /workspace/make-sense/node_modules/node-sass node scripts/install.js

Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/linux-arm64-67_binding.node Cannot download "https://github.com/sass/node-sass/releases/download/v4.14.1/linux-arm64-67_binding.node":

HTTP error 404 Not Found

Hint: If github.com is not accessible in your location try setting a proxy via HTTP_PROXY, e.g.

  export HTTP_PROXY=http://example.com:1234

or configure npm proxy via

  npm config set proxy http://example.com:8080

[email protected] postinstall /workspace/make-sense/node_modules/attr-accept/node_modules/core-js node scripts/postinstall || echo "ignore"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

[email protected] postinstall /workspace/make-sense/node_modules/babel-runtime/node_modules/core-js node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

[email protected] postinstall /workspace/make-sense/node_modules/core-js node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

[email protected] postinstall /workspace/make-sense/node_modules/core-js-pure node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:

https://opencollective.com/core-js https://www.patreon.com/zloirock

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)

[email protected] postinstall /workspace/make-sense/node_modules/node-sass node scripts/build.js

Building: /usr/local/bin/node /workspace/make-sense/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 [ '/usr/local/bin/node', gyp verb cli '/workspace/make-sense/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 info using [email protected] gyp info using [email protected] | 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 for Python executable "python2" in the PATH gyp verb which failed Error: not found: python2 gyp verb which failed at getNotFoundError (/workspace/make-sense/node_modules/which/which.js:13:12) gyp verb which failed at F (/workspace/make-sense/node_modules/which/which.js:68:19) gyp verb which failed at E (/workspace/make-sense/node_modules/which/which.js:80:29) gyp verb which failed at /workspace/make-sense/node_modules/which/which.js:89:16 gyp verb which failed at /workspace/make-sense/node_modules/isexe/index.js:42:5 gyp verb which failed at /workspace/make-sense/node_modules/isexe/mode.js:8:5 gyp verb which failed at FSReqCallback.oncomplete (fs.js:158:21) gyp verb which failed python2 { Error: not found: python2 gyp verb which failed at getNotFoundError (/workspace/make-sense/node_modules/which/which.js:13:12) gyp verb which failed at F (/workspace/make-sense/node_modules/which/which.js:68:19) gyp verb which failed at E (/workspace/make-sense/node_modules/which/which.js:80:29) gyp verb which failed at /workspace/make-sense/node_modules/which/which.js:89:16 gyp verb which failed at /workspace/make-sense/node_modules/isexe/index.js:42:5 gyp verb which failed at /workspace/make-sense/node_modules/isexe/mode.js:8:5 gyp verb which failed at FSReqCallback.oncomplete (fs.js:158:21) gyp verb which failed stack: gyp verb which failed 'Error: not found: python2\n at getNotFoundError (/workspace/make-sense/node_modules/which/which.js:13:12)\n at F (/workspace/make-sense/node_modules/which/which.js:68:19)\n at E (/workspace/make-sense/node_modules/which/which.js:80:29)\n at /workspace/make-sense/node_modules/which/which.js:89:16\n at /workspace/make-sense/node_modules/isexe/index.js:42:5\n at /workspace/make-sense/node_modules/isexe/mode.js:8:5\n at FSReqCallback.oncomplete (fs.js:158:21)', gyp verb which failed code: 'ENOENT' } gyp verb check python checking for Python executable "python" in the PATH gyp verb which failed Error: not found: python gyp verb which failed at getNotFoundError (/workspace/make-sense/node_modules/which/which.js:13:12) gyp verb which failed at F (/workspace/make-sense/node_modules/which/which.js:68:19) gyp verb which failed at E (/workspace/make-sense/node_modules/which/which.js:80:29) gyp verb which failed at /workspace/make-sense/node_modules/which/which.js:89:16 gyp verb which failed at /workspace/make-sense/node_modules/isexe/index.js:42:5 gyp verb which failed at /workspace/make-sense/node_modules/isexe/mode.js:8:5 gyp verb which failed at FSReqCallback.oncomplete (fs.js:158:21) gyp verb which failed python { Error: not found: python gyp verb which failed at getNotFoundError (/workspace/make-sense/node_modules/which/which.js:13:12) gyp verb which failed at F (/workspace/make-sense/node_modules/which/which.js:68:19) gyp verb which failed at E (/workspace/make-sense/node_modules/which/which.js:80:29) gyp verb which failed at /workspace/make-sense/node_modules/which/which.js:89:16 gyp verb which failed at /workspace/make-sense/node_modules/isexe/index.js:42:5 gyp verb which failed at /workspace/make-sense/node_modules/isexe/mode.js:8:5 gyp verb which failed at FSReqCallback.oncomplete (fs.js:158:21) gyp verb which failed stack: gyp verb which failed 'Error: not found: python\n at getNotFoundError (/workspace/make-sense/node_modules/which/which.js:13:12)\n at F (/workspace/make-sense/node_modules/which/which.js:68:19)\n at E (/workspace/make-sense/node_modules/which/which.js:80:29)\n at /workspace/make-sense/node_modules/which/which.js:89:16\n at /workspace/make-sense/node_modules/isexe/index.js:42:5\n at /workspace/make-sense/node_modules/isexe/mode.js:8:5\n at FSReqCallback.oncomplete (fs.js:158:21)', gyp verb which failed code: 'ENOENT' } 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 (/workspace/make-sense/node_modules/node-gyp/lib/configure.js:484:19) gyp ERR! stack at PythonFinder. (/workspace/make-sense/node_modules/node-gyp/lib/configure.js:406:16) gyp ERR! stack at F (/workspace/make-sense/node_modules/which/which.js:68:16) gyp ERR! stack at E (/workspace/make-sense/node_modules/which/which.js:80:29) gyp ERR! stack at /workspace/make-sense/node_modules/which/which.js:89:16 gyp ERR! stack at /workspace/make-sense/node_modules/isexe/index.js:42:5 gyp ERR! stack at /workspace/make-sense/node_modules/isexe/mode.js:8:5 gyp ERR! stack at FSReqCallback.oncomplete (fs.js:158:21) gyp ERR! System Linux 4.9.140-tegra gyp ERR! command "/usr/local/bin/node" "/workspace/make-sense/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library=" gyp ERR! cwd /workspace/make-sense/node_modules/node-sass gyp ERR! node -v v11.10.1 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok Build failed with error code: 1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/webpack-dev-server/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack-chokidar2/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/jest-haste-map/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"})

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] postinstall: node scripts/build.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] 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/2020-10-04T14_49_51_529Z-debug.log The command '/bin/sh -c mkdir /workspace && cd /workspace && git clone https://github.com/SkalskiP/make-sense.git && cd make-sense && npm install' returned a non-zero code: 1 dlinano@jetson-nano:~/utilities/annotation_tools/make-sense$ ls

Desktop (please complete the following information): NAME="Ubuntu" VERSION="18.04.5 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.5 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic

narulkargunjan avatar Oct 04 '20 15:10 narulkargunjan

Hi 👋 @narulkargunjan! Do you still experience this issue?

SkalskiP avatar Aug 27 '21 14:08 SkalskiP

Hi 👋 @narulkargunjan! Do you still experience this issue?

Yes, I am experiencing this issue:

kevin@server:~/make-sense$ docker build -t make_sense docker/
Sending build context to Docker daemon  2.048kB
Step 1/5 : FROM node:12.10-slim
12.10-slim: Pulling from library/node
8f91359f1fff: Pull complete 
3bfc330579f6: Pull complete 
c960067b0736: Pull complete 
614b99d26fc9: Pull complete 
5f1c18961594: Pull complete 
Digest: sha256:4e85fe64cfa4760d40cda193a1b24eb2232d0d68d23defca4f21f86fb028817a
Status: Downloaded newer image for node:12.10-slim
 ---> de16f9a8ad0f
Step 2/5 : RUN apt-get update && apt-get -y install git && rm -rf /var/lib/apt/lists/*
 ---> Running in 712b5c30e629
Ign:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB]
Get:3 http://deb.debian.org/debian stretch-updates InRelease [93.6 kB]
Get:4 http://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://deb.debian.org/debian stretch Release.gpg [3177 B]
Get:6 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [717 kB]
Get:7 http://deb.debian.org/debian stretch/main amd64 Packages [7080 kB]
Fetched 8064 kB in 3s (2287 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1
  libgdbm3 libgpm2 libncurses5 libperl5.24 libpopt0 libx11-6 libx11-data
  libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 netbase openssh-client patch
  perl perl-base perl-modules-5.24 rename rsync xauth
Suggested packages:
  gettext-base git-daemon-run | git-daemon-sysvinit git-doc git-el git-email
  git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn gpm keychain
  libpam-ssh monkeysphere ssh-askpass ed diffutils-doc perl-doc
  libterm-readline-gnu-perl | libterm-readline-perl-perl make openssh-server
The following NEW packages will be installed:
  git git-man less libbsd0 libcurl3-gnutls libedit2 liberror-perl libexpat1
  libgdbm3 libgpm2 libncurses5 libperl5.24 libpopt0 libx11-6 libx11-data
  libxau6 libxcb1 libxdmcp6 libxext6 libxmuu1 netbase openssh-client patch
  perl perl-modules-5.24 rename rsync xauth
The following packages will be upgraded:
  perl-base
1 upgraded, 28 newly installed, 0 to remove and 34 not upgraded.
Need to get 17.0 MB of archives.
After this operation, 82.8 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 perl-base amd64 5.24.1-3+deb9u7 [1346 kB]
Get:2 http://security.debian.org/debian-security stretch/updates/main amd64 libcurl3-gnutls amd64 7.52.1-5+deb9u15 [296 kB]
Get:3 http://security.debian.org/debian-security stretch/updates/main amd64 libbsd0 amd64 0.8.3-1+deb9u1 [82.9 kB]
Get:4 http://security.debian.org/debian-security stretch/updates/main amd64 libx11-data all 2:1.6.4-3+deb9u4 [291 kB]
Get:5 http://deb.debian.org/debian stretch/main amd64 perl-modules-5.24 all 5.24.1-3+deb9u7 [2723 kB]
Get:6 http://security.debian.org/debian-security stretch/updates/main amd64 libx11-6 amd64 2:1.6.4-3+deb9u4 [748 kB]
Get:7 http://deb.debian.org/debian stretch/main amd64 libgdbm3 amd64 1.8.3-14 [30.0 kB]
Get:8 http://deb.debian.org/debian stretch/main amd64 libperl5.24 amd64 5.24.1-3+deb9u7 [3527 kB]
Get:9 http://deb.debian.org/debian stretch/main amd64 perl amd64 5.24.1-3+deb9u7 [218 kB]
Get:10 http://deb.debian.org/debian stretch/main amd64 libexpat1 amd64 2.2.0-2+deb9u3 [83.7 kB]
Get:11 http://deb.debian.org/debian stretch/main amd64 liberror-perl all 0.17024-1 [26.9 kB]
Get:12 http://deb.debian.org/debian stretch/main amd64 git-man all 1:2.11.0-3+deb9u7 [1436 kB]
Get:13 http://deb.debian.org/debian stretch/main amd64 git amd64 1:2.11.0-3+deb9u7 [4170 kB]
Get:14 http://deb.debian.org/debian stretch/main amd64 libxau6 amd64 1:1.0.8-1 [20.7 kB]
Get:15 http://deb.debian.org/debian stretch/main amd64 libpopt0 amd64 1.16-10+b2 [49.4 kB]
Get:16 http://deb.debian.org/debian stretch/main amd64 netbase all 5.4 [19.1 kB]
Get:17 http://deb.debian.org/debian stretch/main amd64 less amd64 481-2.1 [126 kB]
Get:18 http://deb.debian.org/debian stretch/main amd64 libncurses5 amd64 6.0+20161126-1+deb9u2 [93.4 kB]
Get:19 http://deb.debian.org/debian stretch/main amd64 libedit2 amd64 3.1-20160903-3 [84.8 kB]
Get:20 http://deb.debian.org/debian stretch/main amd64 libgpm2 amd64 1.20.4-6.2+b1 [34.2 kB]
Get:21 http://deb.debian.org/debian stretch/main amd64 openssh-client amd64 1:7.4p1-10+deb9u7 [780 kB]
Get:22 http://deb.debian.org/debian stretch/main amd64 libxdmcp6 amd64 1:1.1.2-3 [26.3 kB]
Get:23 http://deb.debian.org/debian stretch/main amd64 libxcb1 amd64 1.12-1 [133 kB]
Get:24 http://deb.debian.org/debian stretch/main amd64 libxext6 amd64 2:1.3.3-1+b2 [52.5 kB]
Get:25 http://deb.debian.org/debian stretch/main amd64 libxmuu1 amd64 2:1.1.2-2 [23.5 kB]
Get:26 http://deb.debian.org/debian stretch/main amd64 patch amd64 2.7.5-1+deb9u2 [112 kB]
Get:27 http://deb.debian.org/debian stretch/main amd64 rename all 0.20-4 [12.5 kB]
Get:28 http://deb.debian.org/debian stretch/main amd64 rsync amd64 3.1.2-1+deb9u2 [393 kB]
Get:29 http://deb.debian.org/debian stretch/main amd64 xauth amd64 1:1.0.9-1+b2 [39.6 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 17.0 MB in 1s (13.7 MB/s)
(Reading database ... 7102 files and directories currently installed.)
Preparing to unpack .../perl-base_5.24.1-3+deb9u7_amd64.deb ...
Unpacking perl-base (5.24.1-3+deb9u7) over (5.24.1-3+deb9u5) ...
Setting up perl-base (5.24.1-3+deb9u7) ...
Selecting previously unselected package perl-modules-5.24.
(Reading database ... 7102 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.24_5.24.1-3+deb9u7_all.deb ...
Unpacking perl-modules-5.24 (5.24.1-3+deb9u7) ...
Selecting previously unselected package libgdbm3:amd64.
Preparing to unpack .../01-libgdbm3_1.8.3-14_amd64.deb ...
Unpacking libgdbm3:amd64 (1.8.3-14) ...
Selecting previously unselected package libperl5.24:amd64.
Preparing to unpack .../02-libperl5.24_5.24.1-3+deb9u7_amd64.deb ...
Unpacking libperl5.24:amd64 (5.24.1-3+deb9u7) ...
Selecting previously unselected package perl.
Preparing to unpack .../03-perl_5.24.1-3+deb9u7_amd64.deb ...
Unpacking perl (5.24.1-3+deb9u7) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../04-libcurl3-gnutls_7.52.1-5+deb9u15_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.52.1-5+deb9u15) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../05-libexpat1_2.2.0-2+deb9u3_amd64.deb ...
Unpacking libexpat1:amd64 (2.2.0-2+deb9u3) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../06-liberror-perl_0.17024-1_all.deb ...
Unpacking liberror-perl (0.17024-1) ...
Selecting previously unselected package git-man.
Preparing to unpack .../07-git-man_1%3a2.11.0-3+deb9u7_all.deb ...
Unpacking git-man (1:2.11.0-3+deb9u7) ...
Selecting previously unselected package git.
Preparing to unpack .../08-git_1%3a2.11.0-3+deb9u7_amd64.deb ...
Unpacking git (1:2.11.0-3+deb9u7) ...
Selecting previously unselected package libxau6:amd64.
Preparing to unpack .../09-libxau6_1%3a1.0.8-1_amd64.deb ...
Unpacking libxau6:amd64 (1:1.0.8-1) ...
Selecting previously unselected package libpopt0:amd64.
Preparing to unpack .../10-libpopt0_1.16-10+b2_amd64.deb ...
Unpacking libpopt0:amd64 (1.16-10+b2) ...
Selecting previously unselected package netbase.
Preparing to unpack .../11-netbase_5.4_all.deb ...
Unpacking netbase (5.4) ...
Selecting previously unselected package less.
Preparing to unpack .../12-less_481-2.1_amd64.deb ...
Unpacking less (481-2.1) ...
Selecting previously unselected package libbsd0:amd64.
Preparing to unpack .../13-libbsd0_0.8.3-1+deb9u1_amd64.deb ...
Unpacking libbsd0:amd64 (0.8.3-1+deb9u1) ...
Selecting previously unselected package libncurses5:amd64.
Preparing to unpack .../14-libncurses5_6.0+20161126-1+deb9u2_amd64.deb ...
Unpacking libncurses5:amd64 (6.0+20161126-1+deb9u2) ...
Selecting previously unselected package libedit2:amd64.
Preparing to unpack .../15-libedit2_3.1-20160903-3_amd64.deb ...
Unpacking libedit2:amd64 (3.1-20160903-3) ...
Selecting previously unselected package libgpm2:amd64.
Preparing to unpack .../16-libgpm2_1.20.4-6.2+b1_amd64.deb ...
Unpacking libgpm2:amd64 (1.20.4-6.2+b1) ...
Selecting previously unselected package openssh-client.
Preparing to unpack .../17-openssh-client_1%3a7.4p1-10+deb9u7_amd64.deb ...
Unpacking openssh-client (1:7.4p1-10+deb9u7) ...
Selecting previously unselected package libxdmcp6:amd64.
Preparing to unpack .../18-libxdmcp6_1%3a1.1.2-3_amd64.deb ...
Unpacking libxdmcp6:amd64 (1:1.1.2-3) ...
Selecting previously unselected package libxcb1:amd64.
Preparing to unpack .../19-libxcb1_1.12-1_amd64.deb ...
Unpacking libxcb1:amd64 (1.12-1) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../20-libx11-data_2%3a1.6.4-3+deb9u4_all.deb ...
Unpacking libx11-data (2:1.6.4-3+deb9u4) ...
Selecting previously unselected package libx11-6:amd64.
Preparing to unpack .../21-libx11-6_2%3a1.6.4-3+deb9u4_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.6.4-3+deb9u4) ...
Selecting previously unselected package libxext6:amd64.
Preparing to unpack .../22-libxext6_2%3a1.3.3-1+b2_amd64.deb ...
Unpacking libxext6:amd64 (2:1.3.3-1+b2) ...
Selecting previously unselected package libxmuu1:amd64.
Preparing to unpack .../23-libxmuu1_2%3a1.1.2-2_amd64.deb ...
Unpacking libxmuu1:amd64 (2:1.1.2-2) ...
Selecting previously unselected package patch.
Preparing to unpack .../24-patch_2.7.5-1+deb9u2_amd64.deb ...
Unpacking patch (2.7.5-1+deb9u2) ...
Selecting previously unselected package rename.
Preparing to unpack .../25-rename_0.20-4_all.deb ...
Unpacking rename (0.20-4) ...
Selecting previously unselected package rsync.
Preparing to unpack .../26-rsync_3.1.2-1+deb9u2_amd64.deb ...
Unpacking rsync (3.1.2-1+deb9u2) ...
Selecting previously unselected package xauth.
Preparing to unpack .../27-xauth_1%3a1.0.9-1+b2_amd64.deb ...
Unpacking xauth (1:1.0.9-1+b2) ...
Setting up libncurses5:amd64 (6.0+20161126-1+deb9u2) ...
Setting up perl-modules-5.24 (5.24.1-3+deb9u7) ...
Setting up libgdbm3:amd64 (1.8.3-14) ...
Setting up libperl5.24:amd64 (5.24.1-3+deb9u7) ...
Setting up git-man (1:2.11.0-3+deb9u7) ...
Setting up libpopt0:amd64 (1.16-10+b2) ...
Setting up libexpat1:amd64 (2.2.0-2+deb9u3) ...
Setting up less (481-2.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Setting up libgpm2:amd64 (1.20.4-6.2+b1) ...
Setting up libcurl3-gnutls:amd64 (7.52.1-5+deb9u15) ...
Setting up libbsd0:amd64 (0.8.3-1+deb9u1) ...
Setting up rsync (3.1.2-1+deb9u2) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of restart.
Setting up perl (5.24.1-3+deb9u7) ...
update-alternatives: using /usr/bin/prename to provide /usr/bin/rename (rename) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/rename.1.gz because associated file /usr/share/man/man1/prename.1.gz (of link group rename) doesn't exist
Setting up patch (2.7.5-1+deb9u2) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up libxdmcp6:amd64 (1:1.1.2-3) ...
Setting up libx11-data (2:1.6.4-3+deb9u4) ...
Setting up libxau6:amd64 (1:1.0.8-1) ...
Setting up netbase (5.4) ...
Setting up libedit2:amd64 (3.1-20160903-3) ...
Setting up liberror-perl (0.17024-1) ...
Setting up rename (0.20-4) ...
update-alternatives: using /usr/bin/file-rename to provide /usr/bin/rename (rename) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/rename.1.gz because associated file /usr/share/man/man1/file-rename.1p.gz (of link group rename) doesn't exist
Setting up openssh-client (1:7.4p1-10+deb9u7) ...
Setting up libxcb1:amd64 (1.12-1) ...
Setting up git (1:2.11.0-3+deb9u7) ...
Setting up libx11-6:amd64 (2:1.6.4-3+deb9u4) ...
Setting up libxmuu1:amd64 (2:1.1.2-2) ...
Setting up libxext6:amd64 (2:1.3.3-1+b2) ...
Setting up xauth (1:1.0.9-1+b2) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Removing intermediate container 712b5c30e629
 ---> f957e13b68d5
Step 3/5 : RUN mkdir /workspace &&   cd /workspace &&   git clone https://github.com/SkalskiP/make-sense.git &&   cd make-sense &&   npm install
 ---> Running in 8cadc0f5001d
Cloning into 'make-sense'...
Checking out files: 100% (337/337), done.


> @tensorflow/[email protected] install /workspace/make-sense/node_modules/@tensorflow/tfjs-node
> node scripts/install.js

CPU-linux-3.9.0.tar.gz
* Downloading libtensorflow
https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.5.0.tar.gz

* Building TensorFlow Node.js bindings
node-pre-gyp install failed with error: Error: Command failed: node-pre-gyp install --fallback-to-build
node-pre-gyp ERR! install response status 404 Not Found on https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v4/3.9.0/CPU-linux-3.9.0.tar.gz 
node-pre-gyp WARN Pre-built binaries not installable for @tensorflow/[email protected] and [email protected] (node-v72 ABI, glibc) (falling back to source compile with node-gyp) 
node-pre-gyp WARN Hit error response status 404 Not Found on https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v4/3.9.0/CPU-linux-3.9.0.tar.gz 
gyp ERR! find Python 
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if "python" can be used
gyp ERR! find Python - "python" is not in PATH or produced an error
gyp ERR! find Python checking if "python2" can be used
gyp ERR! find Python - "python2" is not in PATH or produced an error
gyp ERR! find Python 
gyp ERR! find Python **********************************************************
gyp ERR! find Python You need to install the latest version of Python 2.7.
gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
gyp ERR! find Python you can try one of the following options:
gyp ERR! find Python - Use the switch --python="/path/to/pythonexecutable"
gyp ERR! find Python   (accepted by both node-gyp and npm)
gyp ERR! find Python - Set the environment variable PYTHON
gyp ERR! find Python - Set the npm configuration variable python:
gyp ERR! find Python   npm config set python "/path/to/pythonexecutable"
gyp ERR! find Python For more information consult the documentation at:
gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
gyp ERR! find Python **********************************************************
gyp ERR! find Python 
gyp ERR! configure error 
gyp ERR! stack Error: Could not find any Python installation to use
gyp ERR! stack     at PythonFinder.fail (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:303:47)
gyp ERR! stack     at PythonFinder.runChecks (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:132:21)
gyp ERR! stack     at PythonFinder.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:175:16)
gyp ERR! stack     at PythonFinder.execFileCallback (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/find-python.js:267:16)
gyp ERR! stack     at exithandler (child_process.js:302:5)
gyp ERR! stack     at ChildProcess.errorhandler (child_process.js:314:5)
gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:270:12)
gyp ERR! stack     at onErrorNT (internal/child_process.js:456:16)
gyp ERR! stack     at processTicksAndRejections (internal/process/task_queues.js:80:21)
gyp ERR! System Linux 5.8.0-63-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/workspace/make-sense/node_modules/@tensorflow/tfjs-node/lib/napi-v4/tfjs_binding.node" "--module_name=tfjs_binding" "--module_path=/workspace/make-sense/node_modules/@tensorflow/tfjs-node/lib/napi-v4" "--napi_version=4" "--node_abi_napi=napi" "--napi_build_version=4" "--node_napi_label=napi-v4"
gyp ERR! cwd /workspace/make-sense/node_modules/@tensorflow/tfjs-node
gyp ERR! node -v v12.10.0
gyp ERR! node-gyp -v v5.0.3
gyp ERR! not ok 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/workspace/make-sense/node_modules/@tensorflow/tfjs-node/lib/napi-v4/tfjs_binding.node --module_name=tfjs_binding --module_path=/workspace/make-sense/node_modules/@tensorflow/tfjs-node/lib/napi-v4 --napi_version=4 --node_abi_napi=napi --napi_build_version=4 --node_napi_label=napi-v4' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/workspace/make-sense/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:209:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
node-pre-gyp ERR! System Linux 5.8.0-63-generic
node-pre-gyp ERR! command "/usr/local/bin/node" "/workspace/make-sense/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /workspace/make-sense/node_modules/@tensorflow/tfjs-node
node-pre-gyp ERR! node -v v12.10.0
node-pre-gyp ERR! node-pre-gyp -v v1.0.4
node-pre-gyp ERR! not ok 

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/webpack-dev-server/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/watchpack-chokidar2/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @tensorflow/[email protected] install: `node scripts/install.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @tensorflow/[email protected] install 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/2021-09-26T15_01_00_202Z-debug.log
The command '/bin/sh -c mkdir /workspace &&   cd /workspace &&   git clone https://github.com/SkalskiP/make-sense.git &&   cd make-sense &&   npm install' returned a non-zero code: 1
kevin@server:~/make-sense$ 
kevin@server:~/make-sense$ docker run -dit -p 3000:3000 --restart=always --name=make_sense make_sense
Unable to find image 'make_sense:latest' locally
docker: Error response from daemon: pull access denied for make_sense, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

kevkid avatar Sep 26 '21 15:09 kevkid

I'm also experiencing this issue on m1 mac. Any idea on how to fix it?

blessdarah avatar May 21 '22 13:05 blessdarah

Does that problem still occur on Mac Books with M1?

SkalskiP avatar Oct 12 '22 21:10 SkalskiP

Hi @narulkargunjan, @kevkid and @blessdarah I have MacBook with M1 now. I installed make-sense locally without any problems. For that reason I'm closing this issue. If similar problems will happen once again in the future we will of course reopen :)

SkalskiP avatar Nov 08 '22 10:11 SkalskiP