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

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

Open
profyarborough opened this issue Feb 21, 2024 · 0 comments

Comments

@profyarborough
Copy link

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

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