Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation failure #160

Open
ghost opened this issue Jul 13, 2023 · 1 comment
Open

installation failure #160

ghost opened this issue Jul 13, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 13, 2023

@dstillman

  • debian bookworm on anlinux
  • steps
git clone --recurse-submodules https://github.com/zotero/translation-server
cd translation-server
npm install
  • console output
root@localhost:~/translation-server# npm install
npm WARN skipping integrity check for git dependency ssh://[email protected]/zotero/wicked-good-xpath.git
(#########⠂⠂⠂⠂⠂⠂⠂⠂⠂) ⠴ reify:@babel/code-frame: WAnpm 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 tarball tarball data for require-main-filename@https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz (sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=) seems to be corrupted. Trying again.
npm WARN tarball tarball data for path-exists@https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz (sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=) seems to be corrupted. Trying again.
npm WARN tarball tarball data for oauth-sign@https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz (sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==) seems to be corrupted. Trying again.
npm WARN tarball tarball data for mime-types@https://registry.npmjs.org/mime-types/-/mime-types-2.1.22.tgz (sha512-aGl6TZGnhm/li6F7yx82bJiBZwgiEa4Hf6CNr8YO+r5UHr53tSTYZb102zyU50DOWWKeOv0uQLRL0/9EiKWCog==) seems to be corrupted. Trying again.
npm WARN tarball tarball data for invert-kv@https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz (sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==) seems to be corrupted. Trying again.
npm WARN deprecated [email protected]: this library 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 tarball tarball data for abab@https://registry.npmjs.org/abab/-/abab-2.0.0.tgz (sha512-sY5AXXVZv4Y1VACTtR11UJCPHHudgY5i26Qj5TypE6DKlIApbwb5uqhXcJ5UUGbvZNRh7EeIoW+LrJumBsKp7w==) seems to be corrupted. Trying again.
npm WARN tarball tarball data for base64-js@https://registry.npmjs.org/base64-js/-/base64-js-1.3.0.tgz (sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==) seems to be corrupted. Trying again.
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]: Please upgrade to the upcoming v2, currently (until end of February) install using formidable@canary!
npm WARN tarball tarball data for oauth-sign@https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz (sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==) seems to be corrupted. Trying again.
npm WARN tarball tarball data for mime-types@https://registry.npmjs.org/mime-types/-/mime-types-2.1.22.tgz (sha512-aGl6TZGnhm/li6F7yx82bJiBZwgiEa4Hf6CNr8YO+r5UHr53tSTYZb102zyU50DOWWKeOv0uQLRL0/9EiKWCog==) seems to be corrupted. Trying again.
npm WARN tarball tarball data for path-exists@https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz (sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=) seems to be corrupted. Trying again.
npm WARN tarball tarball data for require-main-filename@https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz (sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=) seems to be corrupted. Trying again.
npm WARN tarball tarball data for invert-kv@https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz (sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==) seems to be corrupted. Trying again.
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]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN tarball tarball data for abab@https://registry.npmjs.org/abab/-/abab-2.0.0.tgz (sha512-sY5AXXVZv4Y1VACTtR11UJCPHHudgY5i26Qj5TypE6DKlIApbwb5uqhXcJ5UUGbvZNRh7EeIoW+LrJumBsKp7w==) seems to be corrupted. Trying again.
npm WARN tarball tarball data for base64-js@https://registry.npmjs.org/base64-js/-/base64-js-1.3.0.tgz (sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==) seems to be corrupted. Trying again.
npm WARN deprecated [email protected]: This version of 'buffer' is out-of-date. You must update to v4.9.2 or newer
npm WARN tarball tarball data for sinon@https://registry.npmjs.org/sinon/-/sinon-6.3.5.tgz (sha512-xgoZ2gKjyVRcF08RrIQc+srnSyY1JDJtxu3Nsz07j1ffjgXoY6uPLf/qja6nDBZgzYYEovVkFryw2+KiZz11xQ==) seems to be corrupted. Trying again.
npm WARN tarball tarball data for sinon@https://registry.npmjs.org/sinon/-/sinon-6.3.5.tgz (sha512-xgoZ2gKjyVRcF08RrIQc+srnSyY1JDJtxu3Nsz07j1ffjgXoY6uPLf/qja6nDBZgzYYEovVkFryw2+KiZz11xQ==) seems to be corrupted. Trying again.
npm WARN deprecated [email protected]: core-js@<3.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. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path /root/.npm/_cacache/tmp/fd1de50f
npm ERR! dest /root/.npm/_cacache/content-v2/sha512/c6/0a/19da02a3c9545c174f11ac841cfacae74b263524326dc6edcdb33d3b8f57df8e05e863ab8f2dffea8daea70c1660cd8604a2f56416bcb0dbe2a2673d75c5
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, rename '/root/.npm/_cacache/tmp/fd1de50f' -> '/root/.npm/_cacache/content-v2/sha512/c6/0a/19da02a3c9545c174f11ac841cfacae74b263524326dc6edcdb33d3b8f57df8e05e863ab8f2dffea8daea70c1660cd8604a2f56416bcb0dbe2a2673d75c5'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2023-07-13T22_44_28_223Z-debug-0.log
root@localhost:~/translation-server#

2023-07-13T22_44_28_223Z-debug-0.log

@AbeJellinek
Copy link
Member

This seems very unlikely to be related to this repo -- it's an npm issue, or more likely an npm issue triggered by running npm as root. Never, ever do that! Try again as a normal user, and if that doesn't fix it, maybe one of the ideas here will work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant