Yarn PnP: Failed to load 'SentryCapacitor' podspec for version 0.10.0
See original GitHub issueEnvironment
macOS 12.6 / zsh / Yarn v2 or greater
Steps to Reproduce
- Must use Yarn PnP (v2 or greater)
- Run
cap sync ios
Expected Result
✔ Updating iOS native dependencies with pod install in 18.06s
✔ update ios in 18.28s
Actual Result
[error] Analyzing dependencies
[!] Failed to load 'SentryCapacitor' podspec:
[!] Invalid `SentryCapacitor.podspec` file: No such file or directory @ rb_sysopen -
Other notes
I’ve investigated a little, and the cause is SentryCapacitor.podspec relatively attempts to read @capacitor/core/package.json
which doesn’t exist in a Yarn PnP enabled environment.
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
Yarn PnP: Failed to load 'SentryCapacitor' podspec for version 0.10.0
Yarn PnP : Failed to load 'SentryCapacitor' podspec for version 0.10.0. getsentry/sentry-capacitor ... Must use Yarn PnP (v2 or greater); Run cap sync...
Read more >PnP dependency error despite relevant `packageExtensions ...
After adding evenchange4/graphql.macro to my project I got a dependency error upon yarn build or yarn start .
Read more >pod install error on react native project - Stack Overflow
When I cd ios && pod install , I keep getting this error. I tried several things like delete node_modules and yarn install...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@chitchu A new version containing a fix for the pnp buid was released. If there are any other issues please let me know or feel free to open another issue 😃
Sure thing. Here’s a very minimal repro: https://github.com/chitchu/yarn-sentry-capacitor
Instructions included as a readme.