Open ianmiell opened 2 years ago
You can downgrade to node v14 and then install the packages until I upgrade Electron to its latest version.
You can downgrade to node v14 and then install the packages until I upgrade Electron to its latest version.
Hallo , I ve the same problem , now I ve the versione node -v v8.17.0, how can ido downgrade node v14, I have to do this before installing the Pool, meaning I format the server and then update the nods
Downloading and installing node v8.17.0... Downloading https://nodejs.org/dist/v8.17.0/node-v8.17.0-linux-x64.tar.xz... ################################################ 100.0% Computing checksum with sha256sum Checksums matched! Now using node v8.17.0 (npm v6.13.4) Creating default alias: default -> v8.17.0 Now using node v8.17.0 (npm v6.13.4) /root/.nvm/versions/node/v8.17.0/bin/npm -> /root/.nvm/versions/node/v8.17.0/lib/node_modules/npm/bin/npm-cli.js /root/.nvm/versions/node/v8.17.0/bin/npx -> /root/.nvm/versions/node/v8.17.0/lib/node_modules/npm/bin/npx-cli.js
npm@6.14.16 added 25 packages from 7 contributors, removed 18 packages and updated 53 packages in 6.311s 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. /root/.nvm/versions/node/v8.17.0/bin/pm2 -> /root/.nvm/versions/node/v8.17.0/lib/node_modules/pm2/bin/pm2 /root/.nvm/versions/node/v8.17.0/bin/pm2-dev -> /root/.nvm/versions/node/v8.17.0/lib/node_modules/pm2/bin/pm2-dev /root/.nvm/versions/node/v8.17.0/bin/pm2-runtime -> /root/.nvm/versions/node/v8.17.0/lib/node_modules/pm2/bin/pm2-runtime /root/.nvm/versions/node/v8.17.0/bin/pm2-docker -> /root/.nvm/versions/node/v8.17.0/lib/node_modules/pm2/bin/pm2-docker npm WARN notsup Unsupported engine for mkdirp@1.0.4: wanted: {"node":">=10"} (current: {"node":"8.17.0","npm":"6.14.16"}) npm WARN notsup Not compatible with your version of node/npm: mkdirp@1.0.4 npm WARN notsup Unsupported engine for semver@7.3.7: wanted: {"node":">=10"} (current: {"node":"8.17.0","npm":"6.14.16"}) npm WARN notsup Not compatible with your version of node/npm: semver@7.3.7 npm WARN notsup Unsupported engine for semver@7.2.3: wanted: {"node":">=10"} (current: {"node":"8.17.0","npm":"6.14.16"}) npm WARN notsup Not compatible with your version of node/npm: semver@7.2.3 npm WARN notsup Unsupported engine for escape-string-regexp@4.0.0: wanted: {"node":">=10"} (current: {"node":"8.17.0","npm":"6.14.16"}) npm WARN notsup Not compatible with your version of node/npm: escape-string-regexp@4.0.0 npm WARN notsup Unsupported engine for socks@2.6.2: wanted: {"node":">= 10.13.0","npm":">= 3.0.0"} (current: {"node":"8.17.0","npm":"6.14.16"}) npm WARN notsup Not compatible with your version of node/npm: socks@2.6.2 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/pm2/node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm WARN notsup Unsupported engine for lru-cache@6.0.0: wanted: {"node":">=10"} (current: {"node":"8.17.0","npm":"6.14.16"}) npm WARN notsup Not compatible with your version of node/npm: lru-cache@6.0.0
pm2@4.5.6 added 176 packages from 196 contributors in 10.647s /root/.nvm/versions/node/v8.17.0/bin/npm -> /root/.nvm/versions/node/v8.17.0/lib/node_modules/npm/bin/npm-cli.js /root/.nvm/versions/node/v8.17.0/bin/npx -> /root/.nvm/versions/node/v8.17.0/lib/node_modules/npm/bin/npx-cli.js
npm@6.14.16 updated 1 package in 30.583s npm WARN deprecated bignumber.js@6.0.0: Custom ALPHABET bug fixed in v7.0.2 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported 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. npm WARN deprecated jQuery@1.7.4: This is deprecated. Please use 'jquery' (all lowercase). npm WARN notsup Unsupported engine for winston@3.7.2: wanted: {"node":">= 12.0.0"} (current: {"node":"8.17.0","npm":"6.14.16"}) npm WARN notsup Not compatible with your version of node/npm: winston@3.7.2 npm WARN notsup Unsupported engine for stratum-pool@1.0.1: wanted: {"node":">=11.15.0"} (current: {"node":"8.17.0","npm":"6.14.16"}) npm WARN notsup Not compatible with your version of node/npm: stratum-pool@1.0.1
npm ERR! Error while executing: npm ERR! /usr/bin/git ls-remote -h -t git://github.com/EasyX-Community/node-multi-hashing.git npm ERR! npm ERR! fatal: remote error: npm ERR! The unauthenticated git protocol on port 9418 is no longer supported. npm ERR! Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. npm ERR! npm ERR! exited with error code: 128
npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-04-13T10_41_31_953Z-debug.log npm WARN deprecated bignumber.js@6.0.0: Custom ALPHABET bug fixed in v7.0.2 npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm ERR! Error while executing: npm ERR! /usr/bin/git ls-remote -h -t git://github.com/EasyX-Community/node-multi-hashing.git npm ERR! npm ERR! fatal: remote error: npm ERR! The unauthenticated git protocol on port 9418 is no longer supported. npm ERR! Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information. npm ERR! npm ERR! exited with error code: 128
npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-04-13T10_41_35_287Z-debug.log npm ERR! code EAUDITNOLOCK npm ERR! audit Neither npm-shrinkwrap.json nor package-lock.json found: Cannot audit a project without a lockfile npm ERR! audit Try creating one first with: npm i --package-lock-only
npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-04-13T10_41_35_850Z-debug.log npm notice created a lockfile as package-lock.json. You should commit this file.
3 packages are looking for funding
run npm fund
for details
found 0 vulnerabilities
$ npm install npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm WARN deprecated source-map-resolve@0.6.0: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated har-validator@5.1.5: this library is no longer supported 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. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated dmg-license@1.0.11: Disk image license agreements are deprecated by Apple and will probably be removed in a future macOS release. Discussion at: https://github.com/argv-minus-one/dmg-license/issues/11 npm WARN deprecated @types/terser-webpack-plugin@5.2.0: This is a stub types definition. terser-webpack-plugin provides its own type definitions, so you do not need this installed.
• electron-builder version=22.13.1 • loaded configuration file=package.json ("build" field) • installing production dependencies platform=darwin arch=x64 appDir=/Users/imiell/git/linc/release/app ⨯ /usr/local/Cellar/node/17.5.0/bin/node exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE Error output: npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm ERR! code 1 npm ERR! path /Users/imiell/git/linc/release/app/node_modules/node-pty npm ERR! command failed npm ERR! command sh -c node scripts/install.js npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.5.0 | darwin | x64 npm ERR! gyp info find Python using Python version 3.9.10 found at "/usr/local/opt/python@3.9/bin/python3.9" npm ERR! gyp http GET https://electronjs.org/headers/v16.2.2/node-v16.2.2-headers.tar.gz npm ERR! gyp http 200 https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v16.2.2/node-v16.2.2-headers.tar.gz npm ERR! gyp http GET https://electronjs.org/headers/v16.2.2/SHASUMS256.txt npm ERR! gyp http 200 https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v16.2.2/SHASUMS256.txt npm ERR! gyp info spawn /usr/local/opt/python@3.9/bin/python3.9 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/Users/imiell/git/linc/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/imiell/git/linc/release/app/node_modules/node-pty/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/imiell/git/linc/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/imiell/.electron-gyp/16.2.2/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/imiell/.electron-gyp/16.2.2', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/Users/imiell/git/linc/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/imiell/.electron-gyp/16.2.2/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/imiell/git/linc/release/app/node_modules/node-pty', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error:
gyp
failed with exit code: 1 npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/Users/imiell/git/linc/node_modules/node-gyp/lib/configure.js:259:16) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:526:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) npm ERR! gyp ERR! System Darwin 20.6.0 npm ERR! gyp ERR! command "/usr/local/Cellar/node/17.5.0/bin/node" "/Users/imiell/git/linc/node_modules/.bin/node-gyp" "rebuild" npm ERR! gyp ERR! cwd /Users/imiell/git/linc/release/app/node_modules/node-pty npm ERR! gyp ERR! node -v v17.5.0 npm ERR! gyp ERR! node-gyp -v v8.4.1 npm ERR! gyp ERR! not oknpm ERR! A complete log of this run can be found in: npm ERR! /Users/imiell/.npm/_logs/2022-04-12T15_08_55_434Z-debug-0.log failedTask=installAppDeps stackTrace=Error: /usr/local/Cellar/node/17.5.0/bin/node exited with code ERR_ELECTRON_BUILDER_CANNOT_EXECUTE Error output: npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm ERR! code 1 npm ERR! path /Users/imiell/git/linc/release/app/node_modules/node-pty npm ERR! command failed npm ERR! command sh -c node scripts/install.js npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@8.4.1 npm ERR! gyp info using node@17.5.0 | darwin | x64 npm ERR! gyp info find Python using Python version 3.9.10 found at "/usr/local/opt/python@3.9/bin/python3.9" npm ERR! gyp http GET https://electronjs.org/headers/v16.2.2/node-v16.2.2-headers.tar.gz npm ERR! gyp http 200 https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v16.2.2/node-v16.2.2-headers.tar.gz npm ERR! gyp http GET https://electronjs.org/headers/v16.2.2/SHASUMS256.txt npm ERR! gyp http 200 https://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v16.2.2/SHASUMS256.txt npm ERR! gyp info spawn /usr/local/opt/python@3.9/bin/python3.9 npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args '/Users/imiell/git/linc/node_modules/node-gyp/gyp/gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'make', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/imiell/git/linc/release/app/node_modules/node-pty/build/config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/imiell/git/linc/node_modules/node-gyp/addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args '/Users/imiell/.electron-gyp/16.2.2/include/node/common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=/Users/imiell/.electron-gyp/16.2.2', npm ERR! gyp info spawn args '-Dnode_gyp_dir=/Users/imiell/git/linc/node_modules/node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=/Users/imiell/.electron-gyp/16.2.2/<(target_arch)/node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=/Users/imiell/git/linc/release/app/node_modules/node-pty', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp: name 'openssl_fips' is not defined while evaluating condition 'openssl_fips != ""' in binding.gyp while trying to load binding.gyp npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: (/Users/imiell/git/linc/node_modules/builder-util/src/util.ts:250:14)
at Object.onceWrapper (node:events:646:26)
at ChildProcess.emit (node:events:526:28)
at maybeClose (node:internal/child_process:1090:16)
at Socket. (node:internal/child_process:449:11)
at Socket.emit (node:events:526:28)
at Pipe. (node:net:687:12)
npm notice
npm notice New minor version of npm available! 8.4.1 -> 8.6.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.6.0
npm notice Run npm install -g npm@8.6.0 to update!
npm notice
npm ERR! code 1
npm ERR! path /Users/imiell/git/linc
npm ERR! command failed
npm ERR! command sh -c ts-node .erb/scripts/check-native-dep.js && electron-builder install-app-deps && cross-env NODE_ENV=development TS_NODE_TRANSPILE_ONLY=true webpack --config ./.erb/configs/webpack.config.renderer.dev.dll.ts && opencollective-postinstall
gyp
failed with exit code: 1 npm ERR! gyp ERR! stack at ChildProcess.onCpExit (/Users/imiell/git/linc/node_modules/node-gyp/lib/configure.js:259:16) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:526:28) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12) npm ERR! gyp ERR! System Darwin 20.6.0 npm ERR! gyp ERR! command "/usr/local/Cellar/node/17.5.0/bin/node" "/Users/imiell/git/linc/node_modules/.bin/node-gyp" "rebuild" npm ERR! gyp ERR! cwd /Users/imiell/git/linc/release/app/node_modules/node-pty npm ERR! gyp ERR! node -v v17.5.0 npm ERR! gyp ERR! node-gyp -v v8.4.1 npm ERR! gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! /Users/imiell/.npm/_logs/2022-04-12T15_08_55_434Z-debug-0.log at ChildProcess.npm ERR! A complete log of this run can be found in: npm ERR! /Users/imiell/.npm/_logs/2022-04-12T15_07_41_308Z-debug-0.log