ng2-dragula: Angular2 Ngc error while importing DragulaModule

Hello,

I’m using Dragula (module and service) with platformBrowserDynamic for Development, and is working very very fine!!

But when i try to Build my App, using prod platformBrowser, the ngc shows me this error: ngc: Error: Unexpected value 'DragulaModule' imported by the module 'AppModule'

Someone also got this error?

Thanks, everyone!

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 7
  • Comments: 24 (5 by maintainers)

Most upvoted comments

Any news about a NPM release @valorkin ?

Thank in advance

Any news about this issue ? I need this fix to build my app

Nice article, @audan2009 . I think we need to fix the dragulaModule to work with AoT. I’m analysing the module to discover where to repair And make a Pull Request.

My app is still broken because of this problem, so it will have high priority here.

published as 1.2.2-0 beta bundles build failed, I will fix it later please check that AoT works fine