Skip to content

couldn't find file ... with type 'application/javascript' when using *.js.jst.ejs.slim #802

@profyarborough

Description

@profyarborough

Hi, my issues seems to be related to a post a while ago:
#497

So we recently updated sprockets. This removed some template imports in some js functions. When I now want to import the templates again (*.js.jst.ejs.slim files) I get the message from above.
I am not sure what to do. I guess either I need to convert my templates into the expected .js file or I need to tweak something in the sprockets config. Since I haven't really worked with sprockets yet I don't know what to do.

Do you have an idea? It seems like the above linked issue has been resolved through a gem update back in the days?

Greets

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions