Installing sentry-capacitor

Hi there, I have an ionic project with capacitor and want to use this.

  1. I cloned the repo in a local directory, src
  2. npm install src/sentry-capacitor
  3. looks good, in package.json I see “@sentry/capacitor”: “file:src/sentry-capacitor”,
  4. per the README I use: import * as Sentry from “@sentry/capacitor”;

ionic build gives me: This dependency was not found
Not sure what I’m doing wrong, seems to work fine in the example project.

We’re focusing on the Capacitor plugin in the next days.
The plan is to have it on npm with Android support at first, while we finalize the iOS support, then GA both of them on npm.

Consider following this tracking issue that will hold updates: Release GA on npm · Issue #29 · getsentry/sentry-capacitor · GitHub

And subscribing to the repo to get more data such as releases and give feedback on PRs and issues: