安装离子电容器打印机插件时出错

Error while installing ionic capacitor printer plugin

我正在使用这个带有电容器的打印机包,我已经将它安装在我的项目中。但是当我尝试为我的离子项目提供服务时,它抛出了一个模块未找到的错误

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'

确保在使用前安装核心插件,

npm install @awesome-cordova-plugins/core --save