skip to Main Content

In my browser console I am using AJAX request for getting an authentication token and redirect to my dashboard, but when I click to the login/sign-in button, nothing is happening. My link contains my email and password and my console generating an error:

devtools failed to parse sourcemap js popper js map in asp.net mvc 5

I tried everything I can think of, including updating the browser and packages. Please can someone solve this problem

my login URL is Home/Login

enter image description here

enter image description here

2

Answers


  1. As we can see from your IDE screenshot, your vendor/bootstrap/js folder does not include popper.js.map, so when popper.js tries to load it, it fails, and throws the warning you reported here.

    You can download the sourcemap file from the following URL:

    https://unpkg.com/browse/[email protected]/dist/umd/popper.js.map

    Make sure to select the correct Popper.js version from the dropdown.

    A better alternative would be to use a package manager, such as npm, NuGet, or Bower, since that’s the preferred way to install the library.

    npm i popper.js
    
    Login or Signup to reply.
  2. First of all, to get rid of this warning (in google chrome) just do as follows:

    F12: (Go to Developer Tools), then tick the box ‘Selected context only’
    enter image description here

    Second, this warning is not related to your code (See a comprehensive description on this subject here).

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search