Cannot find module "css-animator"
lenanex opened this issue · comments
Nanex commented
Hello,
I followed the installation process and I get this error message when I want to import the module to my Ionic application. Is it a normal behaviour ?
import { BrowserModule } from '@angular/platform-browser';
import { ErrorHandler, NgModule } from '@angular/core';
import { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';
import { AnimatorModule } from 'css-animator';
import { SplashScreen } from '@ionic-native/splash-screen';
import { StatusBar } from '@ionic-native/status-bar';
import { MyApp } from './app.component';
import { SigninPage } from '../pages/signin/signin';
@NgModule({
declarations: [
MyApp,
SigninPage
],
imports: [
AnimatorModule,
BrowserModule,
IonicModule.forRoot(MyApp)
],
bootstrap: [IonicApp],
entryComponents: [
MyApp,
SigninPage
],
providers: [
StatusBar,
SplashScreen,
{provide: ErrorHandler, useClass: IonicErrorHandler}
]
})
export class AppModule {}
Thanks,
Alex
Fabian Leutgeb commented
v2.2.0
of css-animator
wasn't published correctly to npm
. Can you please try to update the package, i.e., install v2.2.1
and tell me if this fixes the issue for you?
Nanex commented
Thanks so much, it's working fine now!