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)
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.
Most helpful comment
You are trying to install the wrong package, please install
@sentry/cliinstead: