'Webpacker::Manifest::MissingEntryError in apllication index

I need to run an existing rails app. i executed

bundle intall
yarn install
rails s

but when i go to localhost i get this error

Web packer::Manifest::Missing Entry Error in Application#login

I have this in public/packs/manifest.json

{
   "index":"index.html"
}

I tried

rails web packer:install

and also

 bundle exec rake web packer:compile

but same error come again.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source