Skip to content

importmap timeago and date-fns: missing dependencies #283

@bmedici

Description

@bmedici

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions