Sentry-cli: Default CDN has invalid HTTPS cert. Gets absolutely pooned by NPM. Cannot install.

Created on 8 Feb 2019  Â·  2Comments  Â·  Source: getsentry/sentry-cli

You can check for yourselves easily enough:
https://downloads.sentry-cdn.com/sentry-cli/1.38.1/sentry-cli-Linux-x86_64

> @sentry/[email protected] install /home/saint-llama/peoplewalker/android/react-native-app/node_modules/@sentry/cli
> node scripts/install.js

FetchError: request to https://downloads.sentry-cdn.com/sentry-cli/1.38.1/sentry-cli-Linux-x86_64 failed, reason: certificate is not yet valid
npm WARN [email protected] requires a peer of react-native@^0.51 || ^0.52 || ^0.53 || ^0.54 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^16.4.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of expo-file-system@~1.1.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of expo-react-native-adapter@~1.2.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^16.4.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of [email protected] but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-native@^0.44.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-native@>=0.56.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @sentry/[email protected] install: `node scripts/install.js`
npm ERR! Exit status 1

Most helpful comment

It works for me. Judging by the error msg your system clock is likely wrong

On Fri, Feb 8, 2019, 01:17 Bug-Reaper <[email protected] wrote:

You can check for yourselves easily enough:
https://downloads.sentry-cdn.com/sentry-cli/1.38.1/sentry-cli-Linux-x86_64

`> @sentry/[email protected] install
/home/saint-llama/peoplewalker/android/react-native-app/node_modules/@sentry/cli

node scripts/install.js

FetchError: request to
https://downloads.sentry-cdn.com/sentry-cli/1.38.1/sentry-cli-Linux-x86_64
failed, reason: certificate is not yet valid
npm WARN [email protected] requires a peer of react-native@^0.51
|| ^0.52 || ^0.53 || ^0.54 but none is installed. You must install peer
dependencies yourself.
npm WARN [email protected] requires a peer of react@^16.4.0 but none is
installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of expo-file-system@~1.1.0 but
none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of expo-react-native-adapter@~1.2.0
but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^16.4.0 but none is
installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of
[email protected] but none is installed. You must install peer
dependencies yourself.
npm WARN [email protected] requires a peer of
react-native@^0.44.1 but none is installed. You must install peer
dependencies yourself.
npm WARN [email protected] requires a peer of react-native@>=0.56.0
but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]
(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for
[email protected]: wanted {"os":"darwin","arch":"any"} (current:
{"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @sentry/[email protected] install: node scripts/install.js
npm ERR! Exit status 1
`

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/getsentry/sentry-cli/issues/480, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAzHxeKIHthFu-TyWzlSbRtoC6ewGqotks5vLMI1gaJpZM4arHPE
.

All 2 comments

It works for me. Judging by the error msg your system clock is likely wrong

On Fri, Feb 8, 2019, 01:17 Bug-Reaper <[email protected] wrote:

You can check for yourselves easily enough:
https://downloads.sentry-cdn.com/sentry-cli/1.38.1/sentry-cli-Linux-x86_64

`> @sentry/[email protected] install
/home/saint-llama/peoplewalker/android/react-native-app/node_modules/@sentry/cli

node scripts/install.js

FetchError: request to
https://downloads.sentry-cdn.com/sentry-cli/1.38.1/sentry-cli-Linux-x86_64
failed, reason: certificate is not yet valid
npm WARN [email protected] requires a peer of react-native@^0.51
|| ^0.52 || ^0.53 || ^0.54 but none is installed. You must install peer
dependencies yourself.
npm WARN [email protected] requires a peer of react@^16.4.0 but none is
installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of expo-file-system@~1.1.0 but
none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of expo-react-native-adapter@~1.2.0
but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^16.4.0 but none is
installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of
[email protected] but none is installed. You must install peer
dependencies yourself.
npm WARN [email protected] requires a peer of
react-native@^0.44.1 but none is installed. You must install peer
dependencies yourself.
npm WARN [email protected] requires a peer of react-native@>=0.56.0
but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]
(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for
[email protected]: wanted {"os":"darwin","arch":"any"} (current:
{"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @sentry/[email protected] install: node scripts/install.js
npm ERR! Exit status 1
`

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/getsentry/sentry-cli/issues/480, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAzHxeKIHthFu-TyWzlSbRtoC6ewGqotks5vLMI1gaJpZM4arHPE
.

Hmmm switched from UTC to localtime and ran without issue. Thanks @untitaker !

Was this page helpful?
0 / 5 - 0 ratings