onselakin / linc

9 stars 3 forks source link

Install error #1

Open ianmiell opened 2 years ago

ianmiell commented 2 years ago

$ 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.

linc@0.0.0 postinstall 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

• 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 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 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: 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. (/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

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

onselakin commented 2 years ago

You can downgrade to node v14 and then install the packages until I upgrade Electron to its latest version.

Alf20201976 commented 2 years ago

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

Alf20201976 commented 2 years ago

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 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