Home > database >  Error while installing ionic capacitor printer plugin
Error while installing ionic capacitor printer plugin

Time:01-11

I am using this printer package with capacitor and I have installed it in my project. But when i try serve my ionic project its throwing an error of module not found

https://ionicframework.com/docs/native/printer

ERROR in /.../node_modules/@awesome-cordova-plugins/printer/ngx/index.js
Module not found: Error: Can't resolve '@awesome-cordova-plugins/core' in '/.../node_modules/@awesome-cordova-plugins/printer/ngx'

CodePudding user response:

Make sure to install the core plugin before utilising,

npm install @awesome-cordova-plugins/core --save
  •  Tags:  
  • Related