datalogic / cordova-plugin-datalogic

Cordova Plugin for Datalogic Android SDK
0 stars 7 forks source link

Got one error when trying to uninstall the plugin in ionic project. #12

Closed zheng17 closed 4 years ago

zheng17 commented 4 years ago

I am using ionic 3 project and got this error to uninstall datalogin plugin, please help.

npm uninstall @datalogic/cordova-plugin-datalogic --save
npm ERR! code ENOLOCAL
npm ERR! Could not install from "@datalogic/cordova-plugin-datalogic@~0.4.1" as it does not contain a package.json file.
codybrookshear commented 4 years ago

Hi, I tried this using the sample project here and it worked for me. I haven't seen the issue you are describing unfortunately.

zheng17 commented 4 years ago

Two rows were added into package.json for some reason. I had to delete the second row to fix that.


"@datalogic/cordova-plugin-datalogic": "0.4.1", 
"cordova-plugin-datalogic": "@datalogic/cordova-plugin-datalogic@~0.4.1"