(Solved) WKWebView cordova plugin issue


#1

While developing my meteor cordova app, suddenly I got the following error:

Probably this is either a connection problem, or plugin spec is incorrect.
   Check your connection and plugin name/version/URL.
   Error: EPERM, utime '/Users/timwissel/.npm/cordova-plugin-wkwebview-engine/1.0.2/package/README.md'
   (If the error message contains suggestions for a fix, note that this may not apply to the Meteor integration. You can try running again with the --verbose option to help diagnose the issue.)```

This is printed when I try to do `meteor run ios` and does not occur on android. It is a fatal error, meaning the app cannot run.

The problem is probably that the cordova-plugin-wkwebview is removed from atmosphere or something. How can I fix this?

#2

Fixed it, was my fault. Executed meteor CLI as root user earlier which gave the .npm/cordova-plugin-* packages root-only access. Removed those packages and re-ran.