Comments (4)
no that's right you do not need to install those. I did not realize I have left it there in scripts, I have removed it. Please take latest version. And thank you for pointing it out. And please close the issue if it solves you problem, and let me know if you have any trouble with the package.
from angular-components.
Next problem I hit seems to be another small change, that I believe only matters with webpack, but should be beneficial in general. The error reads:
Uncaught Error: moduleId should be a string in "DaterangepickerComponent". See https://goo.gl/wIDDiL for more information.
If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.
Angular-cli has an open issue about it: angular/angular-cli#3576. I haven't looked into it deeply enough to determine if this is a fault of webpack or angular, but just adding .toString()
to module.id in the components should fix it. It looks like the typescript -> javascript conversion adds this metadata automatically, so maybe manually including it in typescript would be the solution.
I did test, and editing in the .toString()
to daterangepicker-component.js
and calendar-component.js
does fix this, and I am able to successfully load the daterangepicker at that point.
from angular-components.
sure i wll remove the dependancy on it. webpack seems to give problem with it. Please take version 1.1.20 I have removed dependacy on module.id. Thank you for your support.
from angular-components.
@james-criscuolo Closing the issue. Assuming your issue is solved.
from angular-components.
Related Issues (20)
- Error import module HOT 1
- Getting error in angular-2-daterangepicke module while making build in angular 2 HOT 1
- Calendar breaks under Angular 8 served in prod HOT 7
- First day of week HOT 4
- add option to remove clear button HOT 6
- bug report: cant import component HOT 7
- Few suggestions for better experience HOT 4
- "Auto Apply" not working HOT 5
- The next/previous button trigger submit form HOT 4
- Issue while installing with Angular 11. HOT 5
- Add custom locale HOT 2
- Excluded commit HOT 3
- Conflict with ionic-selectable HOT 2
- Request to support Angular reactive form formControlName to set the value directly to form field like some other bootstrap date range picker HOT 3
- Looks like somewhere console log on each even on document is getting logged and creating issue HOT 3
- Predefined Ranges don't work. HOT 1
- Better integrate with Material controls HOT 4
- Hide/Show the Clear button HOT 5
- Language support HOT 1
- DatetimerangepickerModule is not compatible with Angular Ivy HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-components.