Open Himanshu-holmes opened 1 year ago
@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
@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
[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: 'karma-cli@1.0.1', 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 readdir-scoped-modules@1.1.0: This functionality has been moved to @npmcli/fs 119.9 npm WARN deprecated read-package-tree@5.3.1: The functionality that this package provided is now in @npmcli/arborist 120.1 npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated 120.5 npm WARN deprecated uuid@3.4.0: 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 mixin-deep@1.3.1: Critical bug fixed in v2.0.1, please upgrade to the latest version. 121.2 npm WARN deprecated mkdirp@0.5.1: 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 tslint@6.1.3: TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for more information. 122.0 npm WARN deprecated mumath@3.3.4: Redundant dependency in your project. 123.9 npm WARN deprecated debuglog@1.0.1: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. 123.9 npm WARN deprecated date-format@3.0.0: 3.x is no longer supported. Please upgrade to 4.x or higher. 127.5 npm WARN deprecated core-js@2.5.7: 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/plugin-proposal-private-methods@7.12.1: 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/plugin-proposal-object-rest-spread@7.12.1: 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/plugin-proposal-json-strings@7.12.1: 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/plugin-proposal-logical-assignment-operators@7.12.1: 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/plugin-proposal-class-properties@7.12.1: 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/plugin-proposal-export-namespace-from@7.12.1: 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/plugin-proposal-optional-chaining@7.12.1: 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/plugin-proposal-optional-catch-binding@7.12.1: 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/plugin-proposal-numeric-separator@7.12.1: 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/plugin-proposal-dynamic-import@7.12.1: 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/plugin-proposal-nullish-coalescing-operator@7.12.1: 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/plugin-proposal-async-generator-functions@7.12.1: 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 date-format@2.1.0: 2.x is no longer supported. Please upgrade to 4.x or higher. 134.7 npm WARN deprecated debug@4.2.0: 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. (https://github.com/visionmedia/debug/issues/797) 134.8 npm WARN deprecated debug@4.2.0: 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. (https://github.com/visionmedia/debug/issues/797) 134.8 npm WARN deprecated debug@4.2.0: 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. (https://github.com/visionmedia/debug/issues/797) 135.0 npm WARN deprecated debug@4.1.1: 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. (https://github.com/visionmedia/debug/issues/797) 135.0 npm WARN deprecated debug@4.1.1: 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. (https://github.com/visionmedia/debug/issues/797) 135.0 npm WARN deprecated debug@4.1.1: 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. (https://github.com/visionmedia/debug/issues/797) 135.1 npm WARN deprecated debug@3.2.6: 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. (https://github.com/visionmedia/debug/issues/797) 135.6 npm WARN deprecated uuid@3.4.0: 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 debug@3.2.6: 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. (https://github.com/visionmedia/debug/issues/797) 137.0 npm WARN deprecated uuid@3.3.2: 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 request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142 137.8 npm WARN deprecated debug@4.2.0: 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. (https://github.com/visionmedia/debug/issues/797) 137.9 npm WARN deprecated uuid@3.4.0: 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 request@2.88.0: request has been deprecated, see https://github.com/request/request/issues/3142 138.3 npm WARN deprecated debug@4.2.0: 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. (https://github.com/visionmedia/debug/issues/797) 138.7 npm WARN deprecated debug@3.2.6: 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. (https://github.com/visionmedia/debug/issues/797) 139.0 npm WARN deprecated debug@4.1.1: 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. (https://github.com/visionmedia/debug/issues/797) 139.1 npm WARN deprecated debug@4.1.1: 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. (https://github.com/visionmedia/debug/issues/797) 141.2 npm WARN deprecated stable@0.1.8: 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 source-map-url@0.4.0: See https://github.com/lydell/source-map-url#deprecated 141.2 npm WARN deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
141.3 npm WARN deprecated source-map-resolve@0.5.2: See https://github.com/lydell/source-map-resolve#deprecated 141.4 npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
141.6 npm WARN deprecated streamroller@2.2.4: 2.x is no longer supported. Please upgrade to 3.x or higher. 141.6 npm WARN deprecated debug@4.1.1: 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. (https://github.com/visionmedia/debug/issues/797) 141.8 npm WARN deprecated tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap. 141.9 npm WARN deprecated set-value@2.0.0: Critical bug fixed in v3.0.1, please upgrade to the latest version. 143.7 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 143.8 npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated 144.1 npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. 144.5 npm WARN deprecated protractor@7.0.0: 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 node-fetch-npm@2.0.4: This module is not used anymore, npm uses minipass-fetch for its fetch implementation now 146.9 npm WARN deprecated ini@1.3.5: Please update to ini >=1.3.6 to avoid a prototype pollution issue 147.6 npm WARN deprecated har-validator@5.1.3: this library is no longer supported 157.2 npm WARN deprecated @npmcli/move-file@1.0.1: This functionality has been moved to @npmcli/fs
157.9 npm WARN deprecated @schematics/update@0.1002.0: 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/plugin-proposal-unicode-property-regex@7.12.1: 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 debug@4.2.0: 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. (https://github.com/visionmedia/debug/issues/797) 169.7 npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies 171.5 npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies 172.1 npm WARN deprecated debug@4.2.0: 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. (https://github.com/visionmedia/debug/issues/797) 172.1 npm WARN deprecated set-value@0.4.3: Critical bug fixed in v3.0.1, please upgrade to the latest version. 173.2 npm WARN deprecated debug@4.2.0: 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. (https://github.com/visionmedia/debug/issues/797) 174.1 npm WARN deprecated debug@4.2.0: 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. (https://github.com/visionmedia/debug/issues/797) 174.5 npm WARN deprecated debug@4.2.0: 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. (https://github.com/visionmedia/debug/issues/797) 179.5 npm WARN deprecated core-js@3.6.4: 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 Runnpm install -g npm@10.1.0
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 node-gyp@3.8.0 194.6 npm ERR! gyp info using node@20.6.1 | 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 verbwhich
failed Error: not found: python2 194.6 npm ERR! gyp verbwhich
failed at getNotFoundError (/usr/src/app/node_modules/which/which.js:13:12) 194.6 npm ERR! gyp verbwhich
failed at F (/usr/src/app/node_modules/which/which.js:68:19)
194.6 npm ERR! gyp verbwhich
failed at E (/usr/src/app/node_modules/which/which.js:80:29)
194.6 npm ERR! gyp verbwhich
failed at /usr/src/app/node_modules/which/which.js:89:16 194.6 npm ERR! gyp verbwhich
failed at /usr/src/app/node_modules/isexe/index.js:42:5 194.6 npm ERR! gyp verbwhich
failed at /usr/src/app/node_modules/isexe/mode.js:8:5 194.6 npm ERR! gyp verbwhich
failed at FSReqCallback.oncomplete (node:fs:199:21) 194.6 npm ERR! gyp verbwhich
failed python2 Error: not found: python2 194.6 npm ERR! gyp verbwhich
failed at getNotFoundError (/usr/src/app/node_modules/which/which.js:13:12) 194.6 npm ERR! gyp verbwhich
failed at F (/usr/src/app/node_modules/which/which.js:68:19)
194.6 npm ERR! gyp verbwhich
failed at E (/usr/src/app/node_modules/which/which.js:80:29)
194.6 npm ERR! gyp verbwhich
failed at /usr/src/app/node_modules/which/which.js:89:16 194.6 npm ERR! gyp verbwhich
failed at /usr/src/app/node_modules/isexe/index.js:42:5 194.6 npm ERR! gyp verbwhich
failed at /usr/src/app/node_modules/isexe/mode.js:8:5 194.6 npm ERR! gyp verbwhich
failed at FSReqCallback.oncomplete (node:fs:199:21) { 194.6 npm ERR! gyp verbwhich
failed code: 'ENOENT' 194.6 npm ERR! gyp verbwhich
failed } 194.6 npm ERR! gyp verb check python checking for Python executable "python" in the PATH 194.6 npm ERR! gyp verbwhich
failed Error: not found: python 194.6 npm ERR! gyp verbwhich
failed at getNotFoundError (/usr/src/app/node_modules/which/which.js:13:12) 194.6 npm ERR! gyp verbwhich
failed at F (/usr/src/app/node_modules/which/which.js:68:19)
194.6 npm ERR! gyp verbwhich
failed at E (/usr/src/app/node_modules/which/which.js:80:29)
194.6 npm ERR! gyp verbwhich
failed at /usr/src/app/node_modules/which/which.js:89:16 194.6 npm ERR! gyp verbwhich
failed at /usr/src/app/node_modules/isexe/index.js:42:5 194.6 npm ERR! gyp verbwhich
failed at /usr/src/app/node_modules/isexe/mode.js:8:5 194.6 npm ERR! gyp verbwhich
failed at FSReqCallback.oncomplete (node:fs:199:21) 194.6 npm ERR! gyp verbwhich
failed python Error: not found: python 194.6 npm ERR! gyp verbwhich
failed at getNotFoundError (/usr/src/app/node_modules/which/which.js:13:12) 194.6 npm ERR! gyp verbwhich
failed at F (/usr/src/app/node_modules/which/which.js:68:19)
194.6 npm ERR! gyp verbwhich
failed at E (/usr/src/app/node_modules/which/which.js:80:29)
194.6 npm ERR! gyp verbwhich
failed at /usr/src/app/node_modules/which/which.js:89:16 194.6 npm ERR! gyp verbwhich
failed at /usr/src/app/node_modules/isexe/index.js:42:5 194.6 npm ERR! gyp verbwhich
failed at /usr/src/app/node_modules/isexe/mode.js:8:5 194.6 npm ERR! gyp verbwhich
failed at FSReqCallback.oncomplete (node:fs:199:21) { 194.6 npm ERR! gyp verbwhich
failed code: 'ENOENT' 194.6 npm ERR! gyp verbwhich
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
Please get in touch with someone more involved: https://github.com/52North/helgoland/graphs/contributors.
npm WARN deprecated core-js@3.6.4: 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 node-gyp@3.8.0 npm ERR! gyp info using node@18.15.0 | 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", 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
which
failed Error: not found: python2 npm ERR! gyp verbwhich
failed at getNotFoundError (U:\helgoland\node_modules\which\which.js:13:12) npm ERR! gyp verbwhich
failed at F (U:\helgoland\node_modules\which\which.js:68:19) npm ERR! gyp verbwhich
failed at E (U:\helgoland\node_modules\which\which.js:80:29) npm ERR! gyp verbwhich
failed at U:\helgoland\node_modules\which\which.js:89:16 npm ERR! gyp verbwhich
failed at U:\helgoland\node_modules\isexe\index.js:42:5 npm ERR! gyp verbwhich
failed at U:\helgoland\node_modules\isexe\windows.js:36:5 npm ERR! gyp verbwhich
failed at FSReqCallback.oncomplete (node:fs:208:21) npm ERR! gyp verbwhich
failed python2 Error: not found: python2 npm ERR! gyp verbwhich
failed at getNotFoundError (U:\helgoland\node_modules\which\which.js:13:12) npm ERR! gyp verbwhich
failed at F (U:\helgoland\node_modules\which\which.js:68:19) npm ERR! gyp verbwhich
failed at E (U:\helgoland\node_modules\which\which.js:80:29) npm ERR! gyp verbwhich
failed at U:\helgoland\node_modules\which\which.js:89:16 npm ERR! gyp verbwhich
failed at U:\helgoland\node_modules\isexe\index.js:42:5 npm ERR! gyp verbwhich
failed at U:\helgoland\node_modules\isexe\windows.js:36:5 npm ERR! gyp verbwhich
failed at FSReqCallback.oncomplete (node:fs:208:21) { npm ERR! gyp verbwhich
failed code: 'ENOENT' npm ERR! gyp verbwhich
failed } npm ERR! gyp verb check python checking for Python executable "python" in the PATH npm ERR! gyp verbwhich
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 "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