sequencescape icon indicating copy to clipboard operation
sequencescape copied to clipboard

Vite/NPM Error after install with Docker

Open noblelabs1 opened this issue 2 years ago • 0 comments

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

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

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: Screenshot Capture - 2022-04-18 - 21-16-16

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

noblelabs1 avatar Apr 19 '22 03:04 noblelabs1