focus
focus copied to clipboard
Can't install using NPM
Install using npm
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 deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
npm ERR! code 1
npm ERR! path /Users/iamyuu/.volta/tmp/image/packages/.tmpM4vDM7/lib/node_modules/@ayoisaiah/focus
npm ERR! command failed
npm ERR! command sh -c go-npm install
npm ERR! Downloading from URL: https://github.com/ayoisaiah/focus/releases/download/v1.2.0/focus_1.2.0_darwin_amd64.tar.gz
npm ERR! Downloaded binary does not contain the binary specified in configuration - focus
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/iamyuu/.npm/_logs/2021-12-09T03_49_54_338Z-debug.log
Install using yarn
yarn global v1.22.17
[1/4] 🔍 Resolving packages...
warning @ayoisaiah/focus > go-npm > [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
warning @ayoisaiah/focus > go-npm > [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142
warning @ayoisaiah/focus > go-npm > request > [email protected]: this library is no longer supported
warning @ayoisaiah/focus > go-npm > request > [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.
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 🔨 Building fresh packages...
error /Users/iamyuu/.volta/tmp/image/packages/.tmpLPlMaF/lib/node_modules/@ayoisaiah/focus: Command failed.
Exit code: 1
Command: go-npm install
Arguments:
Directory: /Users/iamyuu/.volta/tmp/image/packages/.tmpLPlMaF/lib/node_modules/@ayoisaiah/focus
Output:
Downloading from URL: https://github.com/ayoisaiah/focus/releases/download/v1.2.0/focus_1.2.0_darwin_amd64.tar.gz
Downloaded binary does not contain the binary specified in configuration - focus
info Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.
npx envinfo --system --binaries
:
System:
OS: macOS 11.6
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 32.13 MB / 8.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.13.0 - ~/.volta/tools/image/node/16.13.0/bin/node
Yarn: 1.22.17 - ~/.volta/tools/image/yarn/1.22.17/bin/yarn
npm: 8.1.1 - ~/.volta/tools/image/npm/8.1.1/bin/npm
Watchman: 2021.08.02.00 - /usr/local/bin/watchman
Sorry about this. I will make a new release tomorrow that should solve this
I have the same issue. Any updates?