ayoisaiah / focus

A fully featured productivity timer for the command line, based on the Pomodoro Technique. Supports Linux, Windows, and macOS.
https://github.com/ayoisaiah/focus
MIT License
444 stars 23 forks source link

Can't install using NPM #3

Open iamyuu opened 2 years ago

iamyuu commented 2 years ago
Install using npm ``` 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 tar@2.2.2: 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 > tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap. warning @ayoisaiah/focus > go-npm > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 warning @ayoisaiah/focus > go-npm > request > har-validator@5.1.5: this library is no longer supported warning @ayoisaiah/focus > go-npm > request > 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. [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
ayoisaiah commented 2 years ago

Sorry about this. I will make a new release tomorrow that should solve this

EttVenter commented 2 years ago

I have the same issue. Any updates?