Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation Error in AOT build. #24

Closed
shamim4063 opened this issue Mar 14, 2017 · 6 comments
Closed

Compilation Error in AOT build. #24

shamim4063 opened this issue Mar 14, 2017 · 6 comments
Assignees

Comments

@shamim4063
Copy link

shamim4063 commented Mar 14, 2017

Drag and Drop run and work correctly with JIT compilation But Its through following error in AOT compilation.

Error: Error encountered resolving symbol values statically. Reference to a local (non-exported) symbol 'Ng2DragDropModule'. Consider exporting the symbol (position 21:14 in the original .ts file), resolving symbol Ng2DragDropModule in /home/shamim/Boi2/boibazar/node_modules/ng2-drag-drop/src/ng2-drag-drop.module.d.ts, resolving symbol Ng2DragDropModule in /home/shamim/Boi2/boibazar/node_modules/ng2-drag-drop/index.d.ts, resolving symbol PublicPageModule in /home/shamim/Boi2/boibazar/src/app/pages/public-page/public-page.module.ts, resolving symbol PublicPageModule in /home/shamim/Boi2/boibazar/src/app/pages/public-page/public-page.module.ts

OS: Ubuntu 16.04,
Node version : 6.9.5,
NPM: 3.10.10.
Angular version: 2.4.7

@nidhinmoh
Copy link

hello,

I am also facing the same issue, can anyone help me with this thank you..

@ObaidUrRehman
Copy link
Owner

This is in progress but i am open to PRs as well.

@Vinutha-BK
Copy link

I am getting same error in JIT compilation also, after upgrading to angular v4.0.0

@miczed
Copy link

miczed commented Apr 5, 2017

I am having the same issue with ng2-drag-drop 1.2.0 and angular-cli 1.0.0-beta.32.3. Is there any hotfix we can do ourselves while we wait for a release?

@ObaidUrRehman
Copy link
Owner

This is still a WIP.

@ObaidUrRehman
Copy link
Owner

Added AOT support in v1.3.0.

@ObaidUrRehman ObaidUrRehman reopened this Apr 7, 2017
ObaidUrRehman added a commit that referenced this issue Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants