Hello.
I was able to run ionic-audio in my Ionic 4 project by simply changing one line (line 3) in ionic-audio.module.js:
Change:
import { IonicModule } from 'ionic-angular';
To:
import { IonicModule } from '@ionic/angular';
However, when I try to build production version with ionic build --prod, I get the following error:
ERROR in Error during template compile of 'IonicAudioModule'
Could not resolve ionic-angular relative to D:/ionicprojects/TestProject/node_modules/ionic-audio/dist/ionic-audio.module.d.ts..
Is there a quick fix for this, or is a new version for Ionic 4 planned?
Thank you.
Hello.
I was able to run
ionic-audioin my Ionic 4 project by simply changing one line (line 3) inionic-audio.module.js:Change:
To:
However, when I try to build production version with
ionic build --prod, I get the following error:Is there a quick fix for this, or is a new version for Ionic 4 planned?
Thank you.