sequencescape
sequencescape copied to clipboard
Vite/NPM Error after install with Docker
I get the following after successfully installing and logging in:
ViteRuby::MissingExecutableError in Homes#show
Showing /code/app/views/layouts/application.html.erb where line #25 raised:
❌ The vite binary is not available. Have you installed the npm packages?
Visit the Troubleshooting guide for more information:
https://vite-ruby.netlify.app/guide/troubleshooting.html#troubleshooting
No such file or directory - /code/node_modules/.bin/vite
23 24 25 26 27 28 | <%= javascript_include_tag "application" %> <%= vite_client_tag %> <%= vite_javascript_tag 'application' %> <% if Rails.application.config.disable_animations %> <%= stylesheet_link_tag 'disable_animations' %> |
---|
Rails.root: /code
❌ The vite binary is not available. Have you installed the npm packages?
Visit the Troubleshooting guide for more information:
https://vite-ruby.netlify.app/guide/troubleshooting.html#troubleshooting
No such file or directory - /code/node_modules/.bin/vite Extracted source (around line #25): 23 24 25 26 27 28
<%= javascript_include_tag "application" %>
<%= vite_client_tag %>
<%= vite_javascript_tag 'application' %>
<% if Rails.application.config.disable_animations %>
<%= stylesheet_link_tag 'disable_animations' %>
Rails.root: /code
Application Trace | Framework Trace | Full Trace app/views/layouts/application.html.erb:25