Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

129
Visualizações
HTML file doesn't read the src='script.js' reference, various errors in console

I've put this code into the body tag in my HTML file:

<script src="script.js"></script>

The index.html and script.js files are in the same folder.

When I open the website in the console there's a bunch of different errors displaying (they didn't display some time ago, but I don't know what caused it).

I can open the .html file, but it doesn't read the javascript to execute on the website. I also can't use the console.log() command, the input doesn't display in the console.

I use Firefox Developer Edition and Visual Code Studio with the Live Server Extension.

Here are different errors displaying in the console upon starting the .html file:

Promise rejected after context unloaded: Actor 'Conduits' destroyed before query 'RuntimeMessage' was resolved

Error: Please use $(ref:runtime.getURL).

Can't start recording from event type: paste [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMWindowUtils.addSheet]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"```

location: "JS frame :: resource://gre/modules/ExtensionCommon.jsm :: runSafeSyncWithoutClone :: line 69" data: no]

Error: Can't find profile directory. Promise rejected after context unloaded: Actor 'Conduits' destroyed before query 'RuntimeMessage' was resolved 2 content_script_bundle.js:71

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda