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

importmap timeago and date-fns: missing dependencies #283

Open
bmedici opened this issue Dec 13, 2024 · 0 comments
Open

importmap timeago and date-fns: missing dependencies #283

bmedici opened this issue Dec 13, 2024 · 0 comments

Comments

@bmedici
Copy link

bmedici commented Dec 13, 2024

Hi everyone,

When trying to use timeago as a stimulus controller, date-fns is downloaded and pinned correctly with:

bin/importmap pin @stimulus-components/timeago

But all its dependencies are still missing, and a lot of 404 in the logs:

ActionController::RoutingError (No route matches [GET] "/assets/addHours.js"):
ActionController::RoutingError (No route matches [GET] "/assets/addMilliseconds.js"):
ActionController::RoutingError (No route matches [GET] "/assets/addISOWeekYears.js"):
ActionController::RoutingError (No route matches [GET] "/assets/addDays.js"):
ActionController::RoutingError (No route matches [GET] "/assets/add.js"):
...

Seems related to #264

Any idea on how to solve this, with a workaround or something I may have missed ?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant