How to install Thyme?

damix9

Member
Joined
Jun 5, 2024
Messages
51
Reaction score
12
Credits
440


Bash:
cd thyme-capsule/

Code:
# 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 EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: '[email protected]',
npm warn EBADENGINE   required: { node: '10.9.0', npm: '6.2.0' },
npm warn EBADENGINE   current: { node: 'v20.18.0', npm: '10.8.2' }
npm warn EBADENGINE }
npm warn deprecated [email protected]: versions < v5.0.0 do not handle NUL in passwords properly
npm warn deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: Critical bug fixed in v2.0.1, please upgrade to the latest version.
npm warn deprecated [email protected]: Please upgrade to v0.1.5
npm warn deprecated [email protected]: Please upgrade to v0.1.7
npm warn deprecated [email protected]: Please update to ini >=1.3.6 to avoid a prototype pollution issue
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm warn deprecated [email protected]: Please upgrade to v1.0.1
npm warn deprecated [email protected]: Please upgrade to v1.0.1
npm warn deprecated [email protected]: Please upgrade to v1.0.1
npm warn deprecated [email protected]: Please upgrade to v1.0.1
npm warn deprecated [email protected]: Please upgrade to v0.1.5
npm warn deprecated [email protected]: Please upgrade to v0.1.7
npm warn deprecated [email protected]: Please upgrade to v1.0.1
npm warn deprecated [email protected]: Please upgrade to v1.0.1
npm warn deprecated [email protected]: Please upgrade to v0.1.5
npm warn deprecated [email protected]: Please upgrade to v0.1.7
npm warn deprecated [email protected]: Please upgrade to v1.0.1
npm warn deprecated [email protected]: Please upgrade to v1.0.1
npm warn deprecated [email protected]: Please upgrade to v1.0.1
npm warn deprecated [email protected]: Please upgrade to v1.0.1
npm warn deprecated [email protected]: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit <https://github.com/lukeed/kleur/releases/tag/v3.0.0\> for migration path(s).
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm warn deprecated [email protected]: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: this library is no longer supported
npm warn deprecated [email protected]: Use your platform's native DOMException instead
npm warn deprecated [email protected]: Use your platform's native atob() and btoa() methods instead
npm warn deprecated [email protected]: terraformer-wkt-parser is deprecated and no longer supported. Please use @terraformer/wkt.
npm warn deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm warn deprecated [email protected]: terraformer is deprecated and no longer supported. Please use @terraformer/arcgis.
npm warn deprecated [email protected]: This package is no longer supported.
npm warn deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
npm warn deprecated [email protected]: use String.prototype.padStart()
npm warn deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm warn deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
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. (https://github.com/visionmedia/debug/issues/797)
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. (https://github.com/visionmedia/debug/issues/797)
npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
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. (https://github.com/visionmedia/debug/issues/797)
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. (https://github.com/visionmedia/debug/issues/797)
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. (https://github.com/visionmedia/debug/issues/797)
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. (https://github.com/visionmedia/debug/issues/797)
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. (https://github.com/visionmedia/debug/issues/797)
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. (https://github.com/visionmedia/debug/issues/797)
npm warn deprecated [email protected]: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
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. (https://github.com/visionmedia/debug/issues/797)
npm warn deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm warn deprecated [email protected]: This package is no longer supported.
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.
npm warn deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
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.)
npm warn deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm warn deprecated [email protected]: Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm warn deprecated [email protected]: Please update to v6 or higher! A migration guide can be found here: https://sequelize.org/v6/manual/upgrade-to-v6.html
npm warn deprecated [email protected]: This version is no longer supported. Please see https://eslint.org/version-support for other options.
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 error code 1
npm error path /root/thyme-capsule/node_modules/bcrypt
npm error command failed
npm error command sh -c node-pre-gyp install --fallback-to-build
npm error Failed to execute '/opt/node-v20.18.0-linux-x64/bin/node /opt/node-v20.18.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/thyme-capsule/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name
=bcrypt_lib --module_path=/root/thyme-capsule/node_modules/bcrypt/lib/binding --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (1)
npm error node-pre-gyp info it worked if it ends with ok
npm error node-pre-gyp info using [email protected]
npm error node-pre-gyp info using [email protected] | linux | x64
npm error node-pre-gyp WARN Using request for node-pre-gyp https download 
npm error node-pre-gyp info check checked for "/root/thyme-capsule/node_modules/bcrypt/lib/binding/bcrypt_lib.node" (not found)
npm error node-pre-gyp http GET https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.2/bcrypt_lib-v3.0.2-node-v115-linux-x64-glibc.tar.gz
npm error node-pre-gyp http 404 https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.2/bcrypt_lib-v3.0.2-node-v115-linux-x64-glibc.tar.gz
npm error node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.2/bcrypt_lib-v3.0.2-node-v115-linux-x64-glibc.tar.gz 
npm error node-pre-gyp WARN Pre-built binaries not found for [email protected] and [email protected] (node-v115 ABI, glibc) (falling back to source compile with node-gyp) 
npm error node-pre-gyp http 404 status code downloading tarball https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.2/bcrypt_lib-v3.0.2-node-v115-linux-x64-glibc.tar.gz 
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | linux | x64
npm error gyp info ok 
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | linux | x64
npm error gyp info find Python using Python version 3.9.2 found at "/usr/bin/python3"
npm error gyp info spawn /usr/bin/python3
npm error gyp info spawn args [
npm error gyp info spawn args '/opt/node-v20.18.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm error gyp info spawn args 'binding.gyp',
npm error gyp info spawn args '-f',
npm error gyp info spawn args 'make',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/root/thyme-capsule/node_modules/bcrypt/build/config.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/opt/node-v20.18.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm error gyp info spawn args '-I',
npm error gyp info spawn args '/root/.cache/node-gyp/20.18.0/include/node/common.gypi',
npm error gyp info spawn args '-Dlibrary=shared_library',
npm error gyp info spawn args '-Dvisibility=default',
npm error gyp info spawn args '-Dnode_root_dir=/root/.cache/node-gyp/20.18.0',
npm error gyp info spawn args '-Dnode_gyp_dir=/opt/node-v20.18.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp',
npm error gyp info spawn args '-Dnode_lib_file=/root/.cache/node-gyp/20.18.0/<(target_arch)/node.lib',
npm error gyp info spawn args '-Dmodule_root_dir=/root/thyme-capsule/node_modules/bcrypt',
npm error gyp info spawn args '-Dnode_engine=v8',
npm error gyp info spawn args '--depth=.',
npm error gyp info spawn args '--no-parallel',
npm error gyp info spawn args '--generator-output',
npm error gyp info spawn args 'build',
npm error gyp info spawn args '-Goutput_dir=.'
npm error gyp info spawn args ]
npm error gyp info ok 
npm error gyp info it worked if it ends with ok
npm error gyp info using [email protected]
npm error gyp info using [email protected] | linux | x64
npm error gyp ERR! build error 
npm error gyp ERR! stack Error: not found: make
npm error gyp ERR! stack at getNotFoundError (/opt/node-v20.18.0-linux-x64/lib/node_modules/npm/node_modules/which/lib/index.js:16:17)
npm error gyp ERR! stack at which (/opt/node-v20.18.0-linux-x64/lib/node_modules/npm/node_modules/which/lib/index.js:77:9)
npm error gyp ERR! stack at async doWhich (/opt/node-v20.18.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:112:22)
npm error gyp ERR! stack at async loadConfigGypi (/opt/node-v20.18.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:77:7)
npm error gyp ERR! stack at async build (/opt/node-v20.18.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:35:3)
npm error gyp ERR! stack at async run (/opt/node-v20.18.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js:81:18)
npm error gyp ERR! System Linux 5.10.0-33-amd64
npm error gyp ERR! command "/opt/node-v20.18.0-linux-x64/bin/node" "/opt/node-v20.18.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/root/thyme-capsule/node_modules/bcrypt/lib/binding/bcrypt_lib.node" "--mo
dule_name=bcrypt_lib" "--module_path=/root/thyme-capsule/node_modules/bcrypt/lib/binding" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v115"
npm error gyp ERR! cwd /root/thyme-capsule/node_modules/bcrypt
npm error gyp ERR! node -v v20.18.0
npm error gyp ERR! node-gyp -v v10.1.0
npm error gyp ERR! not ok 
npm error node-pre-gyp ERR! build error 
npm error node-pre-gyp ERR! stack Error: Failed to execute '/opt/node-v20.18.0-linux-x64/bin/node /opt/node-v20.18.0-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/root/thyme-capsule/node_modules/bcrypt/lib/bindin
g/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/root/thyme-capsule/node_modules/bcrypt/lib/binding --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (1)
npm error node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/root/thyme-capsule/node_modules/bcrypt/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
npm error node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:519:28)
npm error node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1105:16)
npm error node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:305:5)
npm error node-pre-gyp ERR! System Linux 5.10.0-33-amd64
npm error node-pre-gyp ERR! command "/opt/node-v20.18.0-linux-x64/bin/node" "/root/thyme-capsule/node_modules/bcrypt/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm error node-pre-gyp ERR! cwd /root/thyme-capsule/node_modules/bcrypt
npm error node-pre-gyp ERR! node -v v20.18.0
npm error node-pre-gyp ERR! node-pre-gyp -v v0.11.0
npm error node-pre-gyp ERR! not ok
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-11-16T15_48_35_849Z-debug-0.log

Code:
# inxi -SM
System:    Host: *** Kernel: 5.10.0-33-amd64 x86_64 bits: 64 Console: tty 0 
Distro: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Kvm System: Red Hat product: KVM v: RHEL 7.6.0 PC (i440FX + PIIX, 1996) serial: N/A 
Mobo: N/A model: N/A serial: N/A BIOS: SeaBIOS v: 1.16.0-4.module_el8.9.0+3659+9c8643f3 date: 04/01/2014
# node --version
v20.18.0
NodeJS is installed as prebuilt binaries.
 


I've written to the app's developer.
To install this program you need
Code:
# node --version
v10.9.0
and run
Bash:
npm install --unsafe-perm
now at least dependecies installation is successfull.
 
Hi. I have some questions:

1) Why are you running that build as root? You should build as a regular user, which doesn't prevent you to install as root (if necessary). Building as root may compromise your whole system if the tools you're using have any exploitable vulnerabilities.
2) I'd suggest not to mess with npm and node at system level and, in your regular non-root user, install NVM (node version manager). That will allow you to customise what version of node and npm each of the apps you're building will use. Check it out here: https://github.com/nvm-sh/nvm

I will give it a go and let you know, I didn't know this project but I might find it useful!
 
Because I didn't have a non-root user on that server and was to lazy to create one.
 

Similar threads

E
Replies
6
Views
15K
DevynCJohnson
D


Members online


Top