-
Notifications
You must be signed in to change notification settings - Fork 56
ERROR in CronEditorModule is not an NgModule #2
Comments
Please explain exactly what are you trying to do, which commands do you run? Attaching your |
Thanks for your quick response. Below are the steps that I followed
Attached is my package.json. Please let me know if I went wrong. |
The usage should look something like this:
|
Yes, same thing I did.. But getting issue. |
Can you paste a more detailed error/call stack? Also do check out this thread, it might be an angular/cli issue |
This type of error can happen when you're incorrectly using the |
control-administration (3).zip attached is the control administration and package.json |
Hi brother, After I have followed all the steps mentioned in the below link, Getting the below issue. Could you please tell me if something i missed. Thanks in advance for your great help. |
Can you check out the new |
Hi!
I was able to resolve this issue by adding
However, when trying to run an AOT-Compilation, I am getting the following error:
I am using the 0.1.6 version of your project.
|
I'm seeing the same thing. Steps to reproduce:
Error:
ng version output:
|
Also tried this with no luck: However, if I pull down the repo and run the sample works OK. |
There seems to be a problem with the way we pack the module. I'll look into it |
Same issue |
We have the same issue. Are you going to solve this problem in closest time? 1 month ago topic has been opened and nothing done... |
I was able to reproduce the steps from @MichaelMalony (thanks!) - it seems that the module is not correctly packed for For your concerns, @User3290, calm you're entitlement. I'm maintaining this open-source component in my little spare-time and I'm trying to make it useful for the community as my time allows. I'll gladly accept practical suggestions. Follow this thread for news on the topic |
I'm getting the same issue: |
instead of giving npm reference ..add the cron editor in project and refer the project folder it may resolve the issue. |
I Made it Work, After spending few hours. I have uploaded the POC in GitHub as a sample. https://github.com/rajeshkdev/Angular-4-Cron-Editor-with-Bootstrap-3.3.7. Just Download and do OR I followed these steps in order to get it work, I'm using Angular 4+ with CLI + Bootstrap 3.3.7. Created Angular 4+ Project using the following command in the CLI:
Install the npm packages:
In order to get the Look and Feel, Alter your .angular-cli.json file the "style" property must load the Bootstrap Css. It should look like below.,
I have updated the app.component.html
I have updated the app.component.ts
I have updated the app.module.ts
I was able to resolve this issue by adding @NgModule() on top of the
And finally got the Results., Hope this helps., |
same error in my project. at last , i copy the src into my project .... |
Sorry for the long waiting time, I got some busy months lately. I'll try to figure this out and come with a fix soon. Thanks for all the info! |
Any update ? |
I was getting "ERROR in Error: CronEditorModule is not an NgModule" and this was resolved by adding @NgModule to cron-editor.module.d.ts file. With this i am able to successfully run the application. However, building the application with --aot flag results in the following error, _ERROR in : Can't bind to 'cron' since it isn't a known property of 'cron-editor'.
][(cron)]="cronExpression" [disabled]="isCronDisabled" [(options)]="cronOptions">Cron here...
][disabled]="isCronDisabled" [(options)]="cronOptions">Cron here...
Has anyone able to resolve this error, any workaround to fix this issue? |
I am also getting the same issue as Will this component work with AOT ? |
@spmanjunath The exact same issue here too, It wowks fine and dandy on the test server using ng serve, but when I tri to build for production, it eventually builds and right after that I get that error. WHAAAAAAAAAA -> My build just succeded, the only thing I did was that I tried several other options, like making a new app from scratch just to test the cron editor. I started to get frustraited so I went back and tried again. Boom, magick, it builds. I am kinda happy, because I have spent the last 2 days modifying this editor to use @angular/material2 instead of bootstrap and now it finally builds. |
I am also getting the same issue as @henrikcs ERROR in : 'cron-editor' is not a known element:
|
After a long struggle, it worked for me. |
Hi can you share the files on GitHub?
Thanks
…On Tue, Jun 19, 2018, 11:07 AM Sainath Rao Ghante ***@***.***> wrote:
After a long struggle, it worked for me.
I removed the cron-edito package from the package.json.
I created on cron folder with the required files and added the necessary
files to it.
Then I build for the production. It succeeded.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIGwnffZmzgUShYXvIvTq_iQsKJRVaR7ks5t-I4bgaJpZM4Pe8qY>
.
|
Hey everyone, there's a new major version of this library, please test it and see if the issues above still occur. Thank you so much for your support! |
This issue seems to be resolved. With the new version of this module, I can build my project without any problems. |
Glad to hear that, @henrikcs! I'll leave this open for a few days for any additional feedback, then I'll consider it Resolved |
First of all, Thank You for making it available for angular2.
I have below issue after installing the package and start the application.
"ERROR in CronEditorModule is not an NgModule"
Could you please help me.
The text was updated successfully, but these errors were encountered: