Using “requireCordovaModule“ to load non-cordova module “path“ is not supported. Instead, add this m

 

插件卸载报错:

E:\mobile\xxx>ionic cordova plugin remove cordova-plugin-wechat
> cordova.cmd plugin remove cordova-plugin-wechat
Using "requireCordovaModule" to load non-cordova module "path" is not supported. Instead, add this module to your dependencies and use regular "require" to load it.
[ERROR] An error occurred while running subprocess cordova.

        cordova.cmd plugin remove cordova-plugin-wechat exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information.

 的时候。

E:\mobile\xxx>npm install [email protected]

安装低版本cordova。

你可能感兴趣的:(Using “requireCordovaModule“ to load non-cordova module “path“ is not supported. Instead, add this m)