any_login
any_login copied to clipboard
Manifest.js warning when starting Rails server
We are running Rails 6.1 with Webpacker. When updating to the latest version 1.5.1 we get an error starting the rails server. Version 1.4.4 where we are upgrading from doesn't have the issue. When adding the file manifest.js it is starting fine but then we get unexpected error when loading pages. Seems like there is a depency for the file to be there.
Error in the console
Expected to find a manifest file in `app/assets/config/manifest.js` (Sprockets::Railtie::ManifestNeededError)
But did not, please create this file and use it to link any assets that need
to be rendered by your app:
Example:
//= link_tree ../images
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .css
and restart your server
For more information see: https://github.com/rails/sprockets/blob/070fc01947c111d35bb4c836e9bb71962a8e0595/UPGRADING.md#manifestjs
@samuelvaneck can you please fork and clone this repo, and just put an empty file in the appropriate folder and use it locally? I hope it can fix, and you can create a PR
to connect gem locally:
gem 'any_login', path: '../any_login'