Closed seme1 closed 2 years ago
can you try this:
SENTRY_SKIP_WIZARD=true cordova plugin rm sentry-cordova --save --force
I have the same issue running the below command does not solve the issue
SENTRY_SKIP_WIZARD=true cordova plugin rm sentry-cordova --save --force
For my Ionic 3 project:
Make sure you completely shutdown XCode / Android Studio
Remove the plugin:
ionic cordova plugin rm sentry-cordova
Remove the platforms:
ionic cordova platform rm android
ionic cordova platform rm ios
ionic cordova platform rm browser
if that failed then: I had to go the plugins folder,
I basically had to blow everything away (platforms, plugins, node_modules) to get this thing removed. Terrible uninstall process... 👎
+1
cordova plugin rm sentry-cordova
won't actually remove the plugin :(
+1? for me I get "Using "requireCordovaModule" to load non-cordova module "fs" is not supported. Instead, add this module to your dependencies and use regular "require" to load it."
the same issue still I have problem
We use raven.js in our Ionic project so I was looking to upgrade to the Cordova Plugin but if issues like this (over a year old) are still open does that suggest I should wait? I don't want to add a plugin that (from the evidence here) is difficult to remove. Is this still an issue?
We still have the same problems as mentioned by @boynet
+1? for me I get "Using "requireCordovaModule" to load non-cordova module "fs" is not supported. Instead, add this module to your dependencies and use regular "require" to load it."
This is disgusting. I couldnt get the package running in development so i tried to remove it. Obviously sentry uses a couple of techniques that are not standard for the cordova boilerplate. But this is the most annoying issue. Please fix this as soon as possible.
Hey sorry about the issue this is not intended if you are still running into:
"Using "requireCordovaModule" to load non-cordova module "fs" is not supported.
This has been fixed in march already: (after version > 0.14
)
https://github.com/getsentry/sentry-cordova/commit/8e5eb67b22d6dfc0996d9f9c9ac7efb70ce93866#diff-c7f37af3816a5a9970457d017658c9f5
Please change the line in your plugin folder to just require
instead of requireCordovaModule
.
After that removing the plugin like SENTRY_SKIP_WIZARD=true cordova plugin rm sentry-cordova
has to work.
Still having the same problem when uninstalling the plugin. References and files remain cluttered all over the app (despite the fact, that i couldn't get it to run).
I switched to the browser version but the remains of the cordova plugin kept screwing my build process...
I struggled with this plugin but after reading a few docs, I made it work!
Add a .env
at the root of your project with this content:
SENTRY_SKIP_WIZARD=true
Try deleting again!
ENTRY_SKIP_WIZARD=true cordova plugin rm sentry-cordova
This does not work. Super disappointed this plugin is wasting my time by referencing a broken plugin.
Do not install verison sentry-cordova@0.12.3 as their documentation tells you to, this version will screw your cordova install like mine is.
Thanks for wasting my time.
I can confirm that...
cordova plugin add sentry-cordova
..does work, though it's probably a good idea to update the documentation.
Anyone found proper way of it?
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog
or Status: In Progress
, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
I've wasted over two hours attempting to remove the plugin from my Android project with no success. The project is hosted on a Windows 10 machine. There also seems to be a hook running every time I attempt to remove the plugin.