Sentry-cli: Installation fails due to TypeError

Created on 15 Apr 2018  ยท  1Comment  ยท  Source: getsentry/sentry-cli

i'm on mac os 10.13.4 and my node version is 9.11.1.

โฏ yarn global add sentry-cli
yarn global v1.6.0
[1/4] ๐Ÿ”  Resolving packages...
[2/4] ๐Ÿšš  Fetching packages...
[3/4] ๐Ÿ”—  Linking dependencies...
[4/4] ๐Ÿ“ƒ  Building fresh packages...
[1/1] โ  sentry-cli:     at FSReqWrap.oncomplete (fs.js:153:20)
[-/1] โ  waiting...
[-/1] โ  waiting...
[-/1] โ  waiting...
error /Users/daniel/.config/yarn/global/node_modules/sentry-cli: Command failed.
Exit code: 1
Command: node tasks/download.js
Arguments:
Directory: /Users/daniel/.config/yarn/global/node_modules/sentry-cli
Output:
path.js:39
    throw new errors.TypeError('ERR_INVALID_ARG_TYPE', 'path', 'string');
    ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string
    at assertPath (path.js:39:11)
    at Object.join (path.js:1158:7)
bug npm macos

Most helpful comment

You are trying to install the wrong package, please install @sentry/cli instead:

$ yarn global add @sentry/cli
yarn global v1.6.0
[1/4] ๐Ÿ”  Resolving packages...
[2/4] ๐Ÿšš  Fetching packages...
[3/4] ๐Ÿ”—  Linking dependencies...
[4/4] ๐Ÿ“ƒ  Building fresh packages...
success Installed "@sentry/[email protected]" with binaries:
      - sentry-cli
โœจ  Done in 2.38s.

>All comments

You are trying to install the wrong package, please install @sentry/cli instead:

$ yarn global add @sentry/cli
yarn global v1.6.0
[1/4] ๐Ÿ”  Resolving packages...
[2/4] ๐Ÿšš  Fetching packages...
[3/4] ๐Ÿ”—  Linking dependencies...
[4/4] ๐Ÿ“ƒ  Building fresh packages...
success Installed "@sentry/[email protected]" with binaries:
      - sentry-cli
โœจ  Done in 2.38s.
Was this page helpful?
0 / 5 - 0 ratings

Related issues

ValentinH picture ValentinH  ยท  3Comments

alexregier picture alexregier  ยท  4Comments

olsh picture olsh  ยท  4Comments

liuaaaddxiaoer picture liuaaaddxiaoer  ยท  5Comments

okon3 picture okon3  ยท  4Comments