Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during package installation #92

Open
Himanshu-holmes opened this issue Sep 14, 2023 · 3 comments
Open

Error during package installation #92

Himanshu-holmes opened this issue Sep 14, 2023 · 3 comments

Comments

@Himanshu-holmes
Copy link

npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup [
npm WARN cleanup 'U:\helgoland\node_modules\webdriver-js-extender',
npm WARN cleanup [Error: EPERM: operation not permitted, rmdir 'U:\helgoland\node_modules\webdriver-js-extender\built\built\built\built\built\built\built\built\built\built\spec'] {
npm WARN cleanup errno: -4048,
npm WARN cleanup code: 'EPERM',
npm WARN cleanup syscall: 'rmdir',
npm WARN cleanup path: 'U:\helgoland\node_modules\webdriver-js-extender\built\built\built\built\built\built\built\built\built\built\spec'
npm WARN cleanup }
npm WARN cleanup ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path U:\helgoland\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/build.js
npm ERR! Building: C:\Program Files\nodejs\node.exe U:\helgoland\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli 'C:\Program Files\nodejs\node.exe',
npm ERR! gyp verb cli 'U:\helgoland\node_modules\node-gyp\bin\node-gyp.js',
npm ERR! gyp verb cli 'rebuild',
npm ERR! gyp verb cli '--verbose',
npm ERR! gyp verb cli '--libsass_ext=',
npm ERR! gyp verb cli '--libsass_cflags=',
npm ERR! gyp verb cli '--libsass_ldflags=',
npm ERR! gyp verb cli '--libsass_library='
npm ERR! gyp verb cli ]
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
npm ERR! gyp verb which failed Error: not found: python2
npm ERR! gyp verb which failed at getNotFoundError (U:\helgoland\node_modules\which\which.js:13:12)
npm ERR! gyp verb which failed at F (U:\helgoland\node_modules\which\which.js:68:19)
npm ERR! gyp verb which failed at E (U:\helgoland\node_modules\which\which.js:80:29)
npm ERR! gyp verb which failed at U:\helgoland\node_modules\which\which.js:89:16
npm ERR! gyp verb which failed at U:\helgoland\node_modules\isexe\index.js:42:5
npm ERR! gyp verb which failed at U:\helgoland\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb which failed at FSReqCallback.oncomplete (node:fs:208:21)
npm ERR! gyp verb which failed python2 Error: not found: python2
npm ERR! gyp verb which failed at getNotFoundError (U:\helgoland\node_modules\which\which.js:13:12)
npm ERR! gyp verb which failed at F (U:\helgoland\node_modules\which\which.js:68:19)
npm ERR! gyp verb which failed at E (U:\helgoland\node_modules\which\which.js:80:29)
npm ERR! gyp verb which failed at U:\helgoland\node_modules\which\which.js:89:16
npm ERR! gyp verb which failed at U:\helgoland\node_modules\isexe\index.js:42:5
npm ERR! gyp verb which failed at U:\helgoland\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb which failed at FSReqCallback.oncomplete (node:fs:208:21) {
npm ERR! gyp verb which failed code: 'ENOENT'
npm ERR! gyp verb which failed }
npm ERR! gyp verb check python checking for Python executable "python" in the PATH
npm ERR! gyp verb which succeeded python C:\Users\LENOBO\AppData\Local\Programs\Python\Python311\python.EXE
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Command failed: C:\Users\LENOBO\AppData\Local\Programs\Python\Python311\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack File "", line 1
npm ERR! gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
npm ERR! gyp ERR! stack ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
npm ERR! gyp ERR! stack SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
npm ERR! gyp ERR! stack
npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child_process:419:12)
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack at maybeClose (node:internal/child_process:1091:16)
npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm ERR! gyp ERR! System Windows_NT 10.0.22621
npm ERR! gyp ERR! command "C:\Program Files\nodejs\node.exe" "U:\helgoland\node_modules\node-gyp\bin\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd U:\helgoland\node_modules\node-sass
npm ERR! gyp ERR! node -v v18.15.0
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1

npm ERR! A complete log of this run can be found in: C:\Users\LENOBO\AppData\Local\npm-cache_logs\2023-09-14T06_35_29_229Z-debug-0.log
PS U:\helgoland> npm config set python python3

npm ERR! python is not a valid npm option

@Himanshu-holmes
Copy link
Author

@EHJ-52n help me here plz . since so much problem occur on package installation in local machine So I want to install it in docker how can I do it could you plz help me

@Himanshu-holmes
Copy link
Author

@EHJ-52n help me here plz . since so much problem occur on package installation in local machine So I want to install it in docker how can I do it could you plz help me

docker build -t cmd .
[+] Building 433.8s (17/20) docker:default
=> [internal] load .dockerignore 0.1s
=> => transferring context: 61B 0.0s
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 864B 0.0s
=> [internal] load metadata for docker.io/library/node:latest 17.2s
=> [internal] load metadata for docker.io/library/nginx:alpine 18.1s
=> [auth] library/nginx:pull token for registry-1.docker.io 0.0s
=> [auth] library/node:pull token for registry-1.docker.io 0.0s
=> [build 1/8] FROM docker.io/library/node:latest@sha256:14bd39208dbc0eb171cbfb26ccb9ac09fa1 218.4s
=> => resolve docker.io/library/node:latest@sha256:14bd39208dbc0eb171cbfb26ccb9ac09fa1b2eba04c 0.0s
=> => sha256:14bd39208dbc0eb171cbfb26ccb9ac09fa1b2eba04ccd528ab5d12983fd9ee24 1.21kB / 1.21kB 0.0s
=> => sha256:c2ed73be34c27a42bd202021c7fdf1a92999fb171f2e1d54bd4b461d9344eeb2 2.00kB / 2.00kB 0.0s
=> => sha256:00046d1e755ea94fa55a700ca9a10597e4fac7c47be19d970a359b0267a51f 24.03MB / 24.03MB 22.9s
=> => sha256:9f13f5a53d118643c1f1ff294867c09f224d00edca21f56caa71c2321f8ca0 64.11MB / 64.11MB 89.8s
=> => sha256:af422ffafa375d61489fe13b087056209270873c7a1afbe1b3fe1b746fd0c057 7.29kB / 7.29kB 0.0s
=> => sha256:012c0b3e998c1a0c0bedcf712eaaafb188580529dd026a04aa1ce13fdb39e 49.56MB / 49.56MB 102.3s
=> => sha256:e13e76ad6279c3d69aa6842a935288c7db66878ec3b7815edd3bb34647b 210.99MB / 210.99MB 196.2s
=> => sha256:95103e803d28f894dcd63cb26fd3ace3211c34974f1584c71a37a9251dfcbab9 3.37kB / 3.37kB 91.8s
=> => sha256:2138282ff17551198f99afebe809b4f28bc66a4a19af3b784e65178c5c68e 47.65MB / 47.65MB 163.2s
=> => sha256:4f9fde731574939c64561fa4e22c377a102fe63ddb1fc9faa5737ad072389ed 2.28MB / 2.28MB 109.3s
=> => extracting sha256:012c0b3e998c1a0c0bedcf712eaaafb188580529dd026a04aa1ce13fdb39e42b 4.7s
=> => extracting sha256:00046d1e755ea94fa55a700ca9a10597e4fac7c47be19d970a359b0267a51fbf 1.2s
=> => extracting sha256:9f13f5a53d118643c1f1ff294867c09f224d00edca21f56caa71c2321f8ca004 5.2s
=> => sha256:562365e2a70fdfc7b3a25c08f616c524bd0b4cedb932c1d9477f0c15aa9839e2 451B / 451B 110.8s
=> => extracting sha256:e13e76ad6279c3d69aa6842a935288c7db66878ec3b7815edd3bb34647bd7ed0 14.2s
=> => extracting sha256:95103e803d28f894dcd63cb26fd3ace3211c34974f1584c71a37a9251dfcbab9 0.0s
=> => extracting sha256:2138282ff17551198f99afebe809b4f28bc66a4a19af3b784e65178c5c68e4f3 6.7s
=> => extracting sha256:4f9fde731574939c64561fa4e22c377a102fe63ddb1fc9faa5737ad072389ed9 0.1s
=> => extracting sha256:562365e2a70fdfc7b3a25c08f616c524bd0b4cedb932c1d9477f0c15aa9839e2 0.0s
=> [stage-1 1/5] FROM docker.io/library/nginx:alpine@sha256:16164a43b5faec40adb521e98272edc5 144.2s
=> => resolve docker.io/library/nginx:alpine@sha256:16164a43b5faec40adb521e98272edc528e74f31c1 0.1s
=> => sha256:7ba6006df2033690d8c64bd8df69e4a1957b78e57b4e32141c78d72a5e0de63d 1.99kB / 1.99kB 0.0s
=> => sha256:433dbc17191a7830a9db6454bcc23414ad36caecedab39d1e51d41083ab1d62 16.69kB / 16.69kB 0.0s
=> => sha256:16164a43b5faec40adb521e98272edc528e74f31c1352719132b8f7e53418d70 1.65kB / 1.65kB 0.0s
=> => sha256:7264a8db6415046d36d16ba98b79778e18accee6ffa71850405994cffa9be7d 3.40MB / 3.40MB 115.3s
=> => extracting sha256:7264a8db6415046d36d16ba98b79778e18accee6ffa71850405994cffa9be7de 0.1s
=> => sha256:518c62654cf088a28cc1c5724734feeb046ce05b4d4189d31929ae2dc7830f0 1.90MB / 1.90MB 118.5s
=> => extracting sha256:518c62654cf088a28cc1c5724734feeb046ce05b4d4189d31929ae2dc7830f0f 0.4s
=> => sha256:d8c801465ddf0e9752c027e026d7aaba433bfac37c5c393d08333bc8aa9897f3 628B / 628B 119.3s
=> => extracting sha256:d8c801465ddf0e9752c027e026d7aaba433bfac37c5c393d08333bc8aa9897f3 0.0s
=> => sha256:ac28ec6b1e8654c24f91433e53cee41865e9df9237dfff8d6dacdfac3d0a4a85 958B / 958B 120.3s
=> => extracting sha256:ac28ec6b1e8654c24f91433e53cee41865e9df9237dfff8d6dacdfac3d0a4a85 0.0s
=> => sha256:eb8fb38efa48c65065284489b17f3d6ab3dbf7ac48e5004ef8676853f186ddbc 369B / 369B 120.9s
=> => extracting sha256:eb8fb38efa48c65065284489b17f3d6ab3dbf7ac48e5004ef8676853f186ddbc 0.0s
=> => sha256:e92e38a9a0eb33852771a506ab9f19ad9616c5bbcec6e7d6dc98267dbfde9a2 1.21kB / 1.21kB 122.9s
=> => extracting sha256:e92e38a9a0eb33852771a506ab9f19ad9616c5bbcec6e7d6dc98267dbfde9a2f 0.0s
=> => sha256:58663ac43ae73c403e033435e0b2c4a00abb5664845c44753825d6019b13fde 1.40kB / 1.40kB 123.7s
=> => extracting sha256:58663ac43ae73c403e033435e0b2c4a00abb5664845c44753825d6019b13fde1 0.0s
=> => sha256:2f545e20725298935b74243840760388e3912516f0d6d42c1782295b3feb9 12.62MB / 12.62MB 143.1s
=> => extracting sha256:2f545e20725298935b74243840760388e3912516f0d6d42c1782295b3feb99ab 0.7s
=> [internal] load build context 0.3s
=> => transferring context: 6.53MB 0.3s
=> [stage-1 2/5] COPY ./nginx.conf /etc/nginx/conf.d/default.conf 0.8s
=> [stage-1 3/5] COPY ./52-.sh /docker-entrypoint.d/ 0.1s
=> [stage-1 4/5] RUN chmod 0775 /docker-entrypoint.d/52-
.sh 1.2s
=> [build 2/8] RUN mkdir -p /usr/src/app 1.3s
=> [build 3/8] WORKDIR /usr/src/app 0.1s
=> [build 4/8] COPY package.json package-lock.json /usr/src/app/ 0.1s
=> [build 5/8] COPY scripts /usr/src/app/scripts 0.1s
=> ERROR [build 6/8] RUN npm install 195.2s

[build 6/8] RUN npm install:
2.686 npm WARN old lockfile
2.687 npm WARN old lockfile The package-lock.json file was created with an old version of npm,
2.687 npm WARN old lockfile so supplemental metadata must be fetched from the registry.
2.687 npm WARN old lockfile
2.688 npm WARN old lockfile This is a one-time fix-up, please be patient...
2.688 npm WARN old lockfile
109.2 npm WARN EBADENGINE Unsupported engine {
109.2 npm WARN EBADENGINE package: '[email protected]',
109.2 npm WARN EBADENGINE required: { node: '0.10 || 0.12 || 4 || 5 || 6' },
109.2 npm WARN EBADENGINE current: { node: 'v20.6.1', npm: '9.8.1' }
109.2 npm WARN EBADENGINE }
119.9 npm WARN deprecated [email protected]: This functionality has been moved to @npmcli/fs
119.9 npm WARN deprecated [email protected]: The functionality that this package provided is now in @npmcli/arborist
120.1 npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
120.5 npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
121.0 npm WARN deprecated [email protected]: Critical bug fixed in v2.0.1, please upgrade to the latest version.
121.2 npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
121.8 npm WARN deprecated [email protected]: TSLint has been deprecated in favor of ESLint. Please see palantir/tslint#4534 for more information.
122.0 npm WARN deprecated [email protected]: Redundant dependency in your project.
123.9 npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
123.9 npm WARN deprecated [email protected]: 3.x is no longer supported. Please upgrade to 4.x or higher.
127.5 npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
131.2 npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-methods instead.
131.3 npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead.
131.4 npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-json-strings instead.
131.4 npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-logical-assignment-operators instead.
131.4 npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
131.5 npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-export-namespace-from instead.
132.0 npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-chaining instead.
132.1 npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-optional-catch-binding instead.
132.2 npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-numeric-separator instead.
132.4 npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-dynamic-import instead.
132.4 npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-nullish-coalescing-operator instead.
132.9 npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-async-generator-functions instead.
134.6 npm WARN deprecated [email protected]: 2.x is no longer supported. Please upgrade to 4.x or higher.
134.7 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
134.8 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
134.8 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
135.0 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
135.0 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
135.0 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
135.1 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
135.6 npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
136.2 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
137.0 npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
137.5 npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
137.8 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
137.9 npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
138.3 npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
138.3 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
138.7 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
139.0 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
139.1 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
141.2 npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
141.2 npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
141.2 npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
141.3 npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
141.4 npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
141.6 npm WARN deprecated [email protected]: 2.x is no longer supported. Please upgrade to 3.x or higher.
141.6 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
141.8 npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
141.9 npm WARN deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
143.7 npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
143.8 npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
144.1 npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
144.5 npm WARN deprecated [email protected]: We have news to share - Protractor is deprecated and will reach end-of-life by Summer 2023. To learn more and find out about other options please refer to this post on the Angular blog. Thank you for using and contributing to Protractor. https://goo.gle/state-of-e2e-in-angular
145.0 npm WARN deprecated [email protected]: This module is not used anymore, npm uses minipass-fetch for its fetch implementation now
146.9 npm WARN deprecated [email protected]: Please update to ini >=1.3.6 to avoid a prototype pollution issue
147.6 npm WARN deprecated [email protected]: this library is no longer supported
157.2 npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
157.9 npm WARN deprecated @schematics/[email protected]: This was an internal-only Angular package up through Angular v11 which is no longer used or maintained. Upgrade Angular to v12+ to remove this dependency.
164.5 npm WARN deprecated @babel/[email protected]: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead.
169.6 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
169.7 npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
171.5 npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
172.1 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
172.1 npm WARN deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
173.2 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
174.1 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
174.5 npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)
179.5 npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
194.6 npm notice
194.6 npm notice New major version of npm available! 9.8.1 -> 10.1.0
194.6 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.1.0
194.6 npm notice Run npm install -g [email protected] to update!
194.6 npm notice
194.6 npm ERR! code 1
194.6 npm ERR! path /usr/src/app/node_modules/node-sass
194.6 npm ERR! command failed
194.6 npm ERR! command sh -c node scripts/build.js
194.6 npm ERR! Building: /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=
194.6 npm ERR! gyp info it worked if it ends with ok
194.6 npm ERR! gyp verb cli [
194.6 npm ERR! gyp verb cli '/usr/local/bin/node',
194.6 npm ERR! gyp verb cli '/usr/src/app/node_modules/node-gyp/bin/node-gyp.js',
194.6 npm ERR! gyp verb cli 'rebuild',
194.6 npm ERR! gyp verb cli '--verbose',
194.6 npm ERR! gyp verb cli '--libsass_ext=',
194.6 npm ERR! gyp verb cli '--libsass_cflags=',
194.6 npm ERR! gyp verb cli '--libsass_ldflags=',
194.6 npm ERR! gyp verb cli '--libsass_library='
194.6 npm ERR! gyp verb cli ]
194.6 npm ERR! gyp info using [email protected]
194.6 npm ERR! gyp info using [email protected] | linux | x64
194.6 npm ERR! gyp verb command rebuild []
194.6 npm ERR! gyp verb command clean []
194.6 npm ERR! gyp verb clean removing "build" directory
194.6 npm ERR! gyp verb command configure []
194.6 npm ERR! gyp verb check python checking for Python executable "python2" in the PATH
194.6 npm ERR! gyp verb which failed Error: not found: python2
194.6 npm ERR! gyp verb which failed at getNotFoundError (/usr/src/app/node_modules/which/which.js:13:12)
194.6 npm ERR! gyp verb which failed at F (/usr/src/app/node_modules/which/which.js:68:19)
194.6 npm ERR! gyp verb which failed at E (/usr/src/app/node_modules/which/which.js:80:29)
194.6 npm ERR! gyp verb which failed at /usr/src/app/node_modules/which/which.js:89:16
194.6 npm ERR! gyp verb which failed at /usr/src/app/node_modules/isexe/index.js:42:5
194.6 npm ERR! gyp verb which failed at /usr/src/app/node_modules/isexe/mode.js:8:5
194.6 npm ERR! gyp verb which failed at FSReqCallback.oncomplete (node:fs:199:21)
194.6 npm ERR! gyp verb which failed python2 Error: not found: python2
194.6 npm ERR! gyp verb which failed at getNotFoundError (/usr/src/app/node_modules/which/which.js:13:12)
194.6 npm ERR! gyp verb which failed at F (/usr/src/app/node_modules/which/which.js:68:19)
194.6 npm ERR! gyp verb which failed at E (/usr/src/app/node_modules/which/which.js:80:29)
194.6 npm ERR! gyp verb which failed at /usr/src/app/node_modules/which/which.js:89:16
194.6 npm ERR! gyp verb which failed at /usr/src/app/node_modules/isexe/index.js:42:5
194.6 npm ERR! gyp verb which failed at /usr/src/app/node_modules/isexe/mode.js:8:5
194.6 npm ERR! gyp verb which failed at FSReqCallback.oncomplete (node:fs:199:21) {
194.6 npm ERR! gyp verb which failed code: 'ENOENT'
194.6 npm ERR! gyp verb which failed }
194.6 npm ERR! gyp verb check python checking for Python executable "python" in the PATH
194.6 npm ERR! gyp verb which failed Error: not found: python
194.6 npm ERR! gyp verb which failed at getNotFoundError (/usr/src/app/node_modules/which/which.js:13:12)
194.6 npm ERR! gyp verb which failed at F (/usr/src/app/node_modules/which/which.js:68:19)
194.6 npm ERR! gyp verb which failed at E (/usr/src/app/node_modules/which/which.js:80:29)
194.6 npm ERR! gyp verb which failed at /usr/src/app/node_modules/which/which.js:89:16
194.6 npm ERR! gyp verb which failed at /usr/src/app/node_modules/isexe/index.js:42:5
194.6 npm ERR! gyp verb which failed at /usr/src/app/node_modules/isexe/mode.js:8:5
194.6 npm ERR! gyp verb which failed at FSReqCallback.oncomplete (node:fs:199:21)
194.6 npm ERR! gyp verb which failed python Error: not found: python
194.6 npm ERR! gyp verb which failed at getNotFoundError (/usr/src/app/node_modules/which/which.js:13:12)
194.6 npm ERR! gyp verb which failed at F (/usr/src/app/node_modules/which/which.js:68:19)
194.6 npm ERR! gyp verb which failed at E (/usr/src/app/node_modules/which/which.js:80:29)
194.6 npm ERR! gyp verb which failed at /usr/src/app/node_modules/which/which.js:89:16
194.6 npm ERR! gyp verb which failed at /usr/src/app/node_modules/isexe/index.js:42:5
194.6 npm ERR! gyp verb which failed at /usr/src/app/node_modules/isexe/mode.js:8:5
194.6 npm ERR! gyp verb which failed at FSReqCallback.oncomplete (node:fs:199:21) {
194.6 npm ERR! gyp verb which failed code: 'ENOENT'
194.6 npm ERR! gyp verb which failed }
194.6 npm ERR! gyp ERR! configure error
194.6 npm ERR! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
194.6 npm ERR! gyp ERR! stack at PythonFinder.failNoPython (/usr/src/app/node_modules/node-gyp/lib/configure.js:484:19)
194.6 npm ERR! gyp ERR! stack at PythonFinder. (/usr/src/app/node_modules/node-gyp/lib/configure.js:406:16)
194.6 npm ERR! gyp ERR! stack at F (/usr/src/app/node_modules/which/which.js:68:16)
194.6 npm ERR! gyp ERR! stack at E (/usr/src/app/node_modules/which/which.js:80:29)
194.6 npm ERR! gyp ERR! stack at /usr/src/app/node_modules/which/which.js:89:16
194.6 npm ERR! gyp ERR! stack at /usr/src/app/node_modules/isexe/index.js:42:5
194.6 npm ERR! gyp ERR! stack at /usr/src/app/node_modules/isexe/mode.js:8:5
194.6 npm ERR! gyp ERR! stack at FSReqCallback.oncomplete (node:fs:199:21)
194.6 npm ERR! gyp ERR! System Linux 5.15.90.1-microsoft-standard-WSL2
194.6 npm ERR! 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="
194.6 npm ERR! gyp ERR! cwd /usr/src/app/node_modules/node-sass
194.6 npm ERR! gyp ERR! node -v v20.6.1
194.6 npm ERR! gyp ERR! node-gyp -v v3.8.0
194.6 npm ERR! gyp ERR! not ok
194.6 npm ERR! Build failed with error code: 1
194.6
194.6 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-09-18T03_42_08_932Z-debug-0.log


Dockerfile:9

7 | COPY package.json package-lock.json /usr/src/app/
8 | COPY scripts /usr/src/app/scripts
9 | >>> RUN npm install
10 |
11 | # copy the app and build it

ERROR: failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 1

@EHJ-52n
Copy link
Member

EHJ-52n commented Sep 18, 2023

Please get in touch with someone more involved: https://github.com/52North/helgoland/graphs/contributors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants