I tried to put jquery, and then it shows the errors below...


<?xml version="1.0"?>

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">

        <script src="js/bootstrap.js" />
        <meta name="viewport" content="width=device-width, initial-scale=1"/>
        <link src="Magento_Theme::favicon.ico" rel="icon" sizes="32x32" />
        <font src="fonts/PlutoSansDPDRegular.ttf" />
        <css src="css/bootstrap/bootstrap.css" />    
        <css src="css/custom.css" order="100" />        



enter image description here

Console Error

  • Remove the <script> tags from your require-config.js, they are not needed.
    – Black
    Dec 20, 2019 at 19:55
  • There was no script tag
    – Andy lima
    Dec 26, 2019 at 14:18
  • there was, we can still see it in your edit... and don't poste code as image, post it as text
    – Black
    Dec 27, 2019 at 14:26

1 Answer 1


You're getting a 404 (Not Found) error on the js/output dependency from your Require Js config. This is why you're seeing the console error in the second screenshot. It is looking in your theme's (Jadlog/tema) static content files for a js/output.js file - have you got that file in your theme? If so, it could just need a static:content:deploy.

If the file exists at app/design/frontend/Jadlog/tema/web/js/output.js then try running:

php bin/magento setup:static-content:deploy pt_BR

This could potentially be the root cause of the first issue.

  • output.js does not exist , I think it´s because of require-config.js calling var config = {deps: ['js / output']
    – Andy lima
    Dec 20, 2019 at 14:43
  • @Andylima, why do you call deps: ['js / output'] in config?
    – Black
    Dec 20, 2019 at 19:55
  • Someone told me that were necessary
    – Andy lima
    Dec 26, 2019 at 13:01
  • I put wrong... I´ve been corrected
    – Andy lima
    Dec 26, 2019 at 14:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.