Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https-proxy-agent-snyk-fork dependency not found in registry #682

Closed
4 of 7 tasks
matthias-pichler opened this issue Oct 4, 2019 · 5 comments
Closed
4 of 7 tasks

Comments

@matthias-pichler
Copy link

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

  • @sentry/react-native
  • react-native-sentry

react-native version: 0.60.6

Init Code:

Sentry.init({
  dsn: Config.SENTRY_DSN,
  environment: Config.SENTRY_ENV,
  beforeSend: e => (process.env.NODE_ENV === 'development' ? null : e),
  maxValueLength: 10000
});

I have following issue:

When running npm i @sentry/react-native I get the following message:

npm i @sentry/react-native                              [d342314]
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/https-proxy-agent-snyk-fork - Not found
npm ERR! 404 
npm ERR! 404  'https-proxy-agent-snyk-fork@*' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'proxy-agent'
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/matthias/.npm/_logs/2019-10-04T08_30_03_474Z-debug.log

Description goes here ...

This only happens with the newest version 1.0.7

Steps to reproduce:

  • install the newest version of the package (possibly without access to some internal registry)

Actual result:

  • npm can't find a package dependency

Expected result:

  • A normal update to the newest version
@matthias-pichler matthias-pichler changed the title https-proxy-agent-snyk-fork dependency not found in registry https-proxy-agent-snyk-fork dependency not found in registry Oct 4, 2019
@jpaas
Copy link

jpaas commented Oct 4, 2019

Upgrading from 1.0.6 to 1.0.7 gives me this...

[1/4] 🔍  Resolving packages...
error "proxy-agent-3.1.0.tgz": Tarball is not in network and can not be located in cache (["/Users/jpaas/Documents/osaaru/rnproject/proxy-agent-3.1.0.tgz","/Users/jpaas/Library/Caches/Yarn/v5/.tmp/1cb65d53db120924735197f89834781e/.yarn-tarball.tgz"])

@bogdancochioras-clarisoft

No version of @sentry/react-native works, I think there might have been a snyk fork with some security patches that might have been deleted or something, does anyone know a temporary fix? Tried to install with --no-optional but snyk doesn't seem to be optional and I have no idea how to disable it or if disabling it would fix the issue.

@HazAT
Copy link
Member

HazAT commented Oct 4, 2019

We are working on this
ref: https://github.com/snyk/snyk/issues/796

@bogdancochioras-clarisoft
Copy link

bogdancochioras-clarisoft commented Oct 4, 2019

It seems this got resolved on snyk side with an update of their cli

@matthias-pichler
Copy link
Author

@HazAT can confirm it works now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants