1

My checkout first step have an infinite loop.

Console log give me only a warning

jQuery.browser is deprecated

Magento log

main.CRITICAL: Unable to resolve the source file for 'frontend/Altravista/bookshop/en_US/css/bootstrap/bootstrap.min.css.map' 

can be this the problem?

No server logs

No networks errors enter image description here

How can i debug? I'm going crazy

MAgento 2 chieckout infinite loop

7
  • check browser network tab if any error. Commented May 18, 2018 at 14:58
  • no errors in network i update answer whit a stamp
    – Altravista
    Commented May 18, 2018 at 15:00
  • Have you checked console? Commented May 18, 2018 at 15:06
  • Any third party extensions?
    – Greg
    Commented May 18, 2018 at 15:06
  • no errors in console only jQuery.browser is deprecated just disabled my custon modules and just try with luma theme same error
    – Altravista
    Commented May 18, 2018 at 15:07

1 Answer 1

0

solved changing this

app/design/frontend/Altravista/bookshop/requirejs-config.js

 var config = {
    deps: [
        'js/custom'
    ],
    paths: {
        'popper': 'js/bootstrap/popper.min',
        'bootstrap': 'js/bootstrap/bootstrap.min'
    },
    shim: {
        'popper': {
            'deps': ['jquery', 'bootstrap'],
            'exports': 'Popper'
        },
        'bootstrap': {
            'deps': ['jquery', 'popper']
        }
    }
};

with

var config = {
    deps: [
        'js/custom'
    ],
    paths: {
        'popper': 'js/bootstrap/popper.min',
        'bootstrap': 'js/bootstrap/bootstrap.min'
    },
    shim: {
        'popper': {
            'deps': ['jquery'],
            'exports': 'Popper'
        },
        'bootstrap': {
            'deps': ['jquery', 'popper']
        }
    }
};

remove bootstrap from popper shim

1
  • 2
    please add file path for update this changes. Commented Nov 13, 2018 at 12:38

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.