I have been on the search for a great library to integrate with Angular2 for handling dates and performing operations like diff/add, translations, and more. Despite my attempts to install Luxon from http://moment.github.io/luxon/ using npm install --save-dev @types/luxon, I keep encountering failure.
Every time I try to compile my code, I am faced with errors similar to the one below:
Module not found: Error: Can't resolve 'luxon' in 'D:\App\src\app\planning-team' Resolve 'luxon' in 'D:\App\src\app\planning-team' Parsed request is a module Using description file: D:\App\package.json (relative path: ./src/app/planning-team) Field 'browser' doesn't contain a valid alias configuration
Has anyone successfully integrated Luxon with Angular before? If so, how did you manage to do it?
Any assistance would be greatly appreciated. Best regards, Mike