Solucionado (ver solução)
Solucionado
(ver solução)
3
respostas

erro no acesso do primeiro index

Webpacker::Manifest::MissingEntryError in Produtos#index

Showing /home/joaoeduardo/projetos/lojas/app/views/layouts/application.html.erb where line #9 raised:

Webpacker can't find application in /home/joaoeduardo/projetos/lojas/public/packs/manifest.json. Possible causes:

  1. You want to set webpacker.yml value of compile to true for your environment unless you are using the webpack -w or the webpack-dev-server.
  2. webpack has not yet re-run to reflect updates.
  3. You have misconfigured Webpacker's config/webpacker.yml file.
  4. Your webpack configuration is not creating a manifest. Your manifest contains: { }

Alguem sabe o que é este erro?

3 respostas
solução!

Fala João, como vai?

Pode dizer por gentileza qual versão do rails está usando? Como o erro indica que o webpacker não foi encontrado, tente instalar novamente com o seguinte comando:

bundle exec rake webpacker:install

Nos diga se deu certo e bons estudos.

: )

Bom dia Guilherme Lima, reinstalei todo o framework e o erro foi resolvido.

Att

Puxa que legal João.

Bons estudos e conte sempre com a Alura.

: )

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software