Skip to content

Ionic 4 version? #206

@bockoblur

Description

@bockoblur

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions