Code Monkey home page Code Monkey logo

Comments (1)

haoliangwu avatar haoliangwu commented on June 11, 2024

hi @pdecembre,

thanks for your report, but I cannot reproduce the error you mentioned, I simply build my other project with ngx-loading-mask and --aot, everything works fine.

I used [email protected], here is the log:

➜  ngx-previewer git:(master) npm list ngx-loading-mask
[email protected] /Users/lyon/lyon/ngx-previewer
└── [email protected]

➜  ngx-previewer git:(master) ng build --aot
Your global Angular CLI version (1.7.1) is greater than your local
version (1.6.2). The local Angular CLI version is used.

To disable this warning use "ng set --global warnings.versionMismatch=false".
Date: 2018-03-02T06:58:47.041Z                                                - Hash: bfbf18499ded4ace1828
Time: 51568ms
chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 5.83 kB [entry] [rendered]
chunk {main} main.bundle.js, main.bundle.js.map (main) 147 kB [initial] [rendered]
chunk {polyfills} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 201 kB [initial] [rendered]
chunk {scripts} scripts.bundle.js, scripts.bundle.js.map (scripts) 284 kB [initial] [rendered]
chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 11.4 kB [initial] [rendered]
chunk {vendor} vendor.bundle.js, vendor.bundle.js.map (vendor) 7.46 MB [initial] [rendered]
chunk {0} 0.chunk.js, 0.chunk.js.map () 1.52 MB  [rendered]

and the AppModule metadata

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    NgxPreviewModule.forRoot({}, DEFAULT_VIEWER_COMPS),
    LoadingMaskModule.forRoot({
      snippet: {
        imgUrl: 'http://littlelyon.com/ngx-loading-mask/assets/ripple.svg',
        size: 144
      }
    }),
    NgZorroAntdModule.forRoot()
  ],
  providers: [],
  bootstrap: [
    AppComponent
  ]
})
export class AppModule { }

so if you still suffer from the error, could you please give me an playground repo that I can help you figure out what's going wrong ?

thanks

from ngx-loading-mask.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.