Description
System information
- node version: v21.6.2
- npm or yarn version: 10.7.0
- OS/version/architecture: 23.5.0
- Applicable nodegit version: x64
Hello,
when i try to install the package i have this kind of error in console
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]: This package is no longer supported. npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported npm warn deprecated [email protected]: this library is no longer supported npm warn deprecated [email protected]: This package is no longer supported. npm warn deprecated [email protected]: This package is no longer supported. npm warn deprecated [email protected]: Glob versions prior to v9 are 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]: This package is no longer supported. 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 error code 1 npm error path /Users/amar/Projects/EXERCICES/REACT/git-branch-manager/node_modules/nodegit npm error command failed npm error command sh -c node lifecycleScripts/preinstall && node lifecycleScripts/install npm error [nodegit] Running pre-install script npm error [nodegit] Running install script npm error npm error SOLINK_MODULE(target) Release/acquireOpenSSL.node npm error ACTION binding_gyp_configureLibssh2_target_configure . npm error [nodegit] Configuring libssh2. npm error SOLINK_MODULE(target) Release/configureLibssh2.node npm error CC(target) Release/obj.target/libgit2/vendor/libgit2/src/allocators/stdalloc.o npm error CC(target) Release/obj.target/libgit2/vendor/libgit2/src/commit.o npm error CC(target) Release/obj.target/libgit2/vendor/libgit2/src/alloc.o npm error CC(target) Release/obj.target/libgit2/vendor/libgit2/src/annotated_commit.o npm error CC(target) Release/obj.target/libgit2/vendor/libgit2/src/apply.o npm error CC(target) Release/obj.target/libgit2/vendor/libgit2/src/attr_file.o npm error CC(target) Release/obj.target/libgit2/vendor/libgit2/src/attr.o npm error CC(target) Release/obj.target/libgit2/vendor/libgit2/src/attrcache.o npm error CC(target) Release/obj.target/libgit2/vendor/libgit2/src/blame_git.o npm error CC(target) Release/obj.target/libgit2/vendor/libgit2/src/blame.o npm error CC(target) Release/obj.target/libgit2/vendor/libgit2/src/blob.o npm error CC(target) Release/obj.target/libgit2/vendor/libgit2/src/branch.o
npm error /Users/amar/Library/Caches/node-gyp/21.6.2/include/node/openssl/pem.h:462:24: note: 'PEM_read_bio_ECPrivateKey' has been explicitly marked deprecated here npm error DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) npm error ^ npm error /Users/amar/Library/Caches/node-gyp/21.6.2/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' npm error # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) npm error ^ npm error /Users/amar/Library/Caches/node-gyp/21.6.2/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' npm error # define OSSL_DEPRECATED(since) __attribute__((deprecated)) npm error ^ npm error ../vendor/libssh2/src/openssl.c:1857:15: warning: 'RSA_size' is deprecated [-Wdeprecated-declarations] npm error sig_len = RSA_size(rsactx); npm error ^ npm error /Users/amar/Library/Caches/node-gyp/21.6.2/include/node/openssl/rsa.h:204:1: note: 'RSA_size' has been explicitly marked deprecated here npm error OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); npm error ^ npm error /Users/amar/Library/Caches/node-gyp/21.6.2/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' npm error # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) npm error ^ npm error /Users/amar/Library/Caches/node-gyp/21.6.2/include/node/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' npm error # define OSSL_DEPRECATED(since) __attribute__((deprecated)) npm error ^ npm error ../vendor/libssh2/src/openssl.c:1864: npm error 11: warning: 'RSA_sign' is deprecated [-Wdeprecated-declarations] npm error ret = RSA_sign(NID_sha1, hash, hash_len, sig, &sig_len, rsactx); npm error ^ npm error /Users/amar/Library/Caches/node-gyp/21.6.2/include/node/openssl/rsa.h:348:1: note: 'RSA_sign' has been explicitly marked deprecated here npm error OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, npm error ^ npm error /Users/amar/Library/Caches/node-gyp/21.6.2/include/node/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' npm error # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) npm error ^ npm error /Users/amar/Library/Caches/node-gyp/21.6.2/include/node/openssl/macros.h:62:52
Has anyone ever encountered any problems?