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

MaB*_*aja 5 ionic-framework yarnpkg capacitor

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

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'
Run Code Online (Sandbox Code Playgroud)

Sa *_*ary 16

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

npm install @awesome-cordova-plugins/core --save
Run Code Online (Sandbox Code Playgroud)