Hi, hoping you're having a good day. I've setup vite-rails for my application. Everything runs okay in development, however, when pushing the app to production. The build fails and i get this error,
ViteRuby::MissingEntrypointError
Vite Ruby can't find entrypoints/application.js in public/vite/manifest.json or public/vite/manifest-assets.json.
Possible causes:
- The file path is incorrect.
- The file is not in the entrypoints directory.
- Some files are outside the sourceCodeDir, and have not been added to watchAdditionalPaths.
- You have not run `bin/vite dev` to start Vite, or the dev server is not reachable.
- "autoBuild" is set to `false` in your config/vite.json for this environment.
Visit the Troubleshooting guide for more information:
https://vite-ruby.netlify.app/guide/troubleshooting.html#troubleshooting
I have read everywhere on the documentation but could not solve this. Anything would really help.
bundle update vite_ruby
.Description š
Hi, hoping you're having a good day. I've setup vite-rails for my application. Everything runs okay in development, however, when pushing the app to production. The build fails and i get this error,
I have read everywhere on the documentation but could not solve this. Anything would really help.
Thank you