@vite/client not present in the asset pipeline #513
-
I am wondering how I can resolve this error <%= vite_client_tag %>
<%= vite_react_refresh_tag %> |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Eric! This seems like a configuration issue in the application, Rails should not attempt to find the Vite client in the asset pipeline. To confirm this is the issue, try passing If that doesn't fix the problem, then it might be that your asset host is configured incorrectly and Rails doesn't detect it as a URL (for example, check if it's missing the |
Beta Was this translation helpful? Give feedback.
Hi Eric!
This seems like a configuration issue in the application, Rails should not attempt to find the Vite client in the asset pipeline.
To confirm this is the issue, try passing
skip_pipeline: true
tovite_client_tag
.If that doesn't fix the problem, then it might be that your asset host is configured incorrectly and Rails doesn't detect it as a URL (for example, check if it's missing the
http
protocol).