Answers for "DevTools failed to load source map: Could not load content for http://localhost:8000/js/popper.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE"

3

DevTools failed to load source map: Could not load content for chrome-extension://dmkamcknogkgcdfhhbddcghachkejeap/browser-polyfill.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME

developer tools -> settings -> console -> tick "Selected context only"
Posted by: Guest on August-13-2021
-1

DevTools failed to load source map: Could not load content for http://localhost:8000/js/popper.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Checked :

package.json
	...
    "popper.js": "^1.16.1",
    ...
    
node_modules/popper.js/dist/popper.js - Checked

Now, go to webpack.mix.js - This archive is responsible for doing all the 
compilation of our application's assets - See documentation at 
https://laravel.com/docs/8.x/mix

webpack.mix.js

	mix.js('resources/js/app.js', 'public/js')
      // using sourceMaps() because the error is about popper.js.map
      .js("node_modules/popper.js/dist/popper.js", 'public/js').sourceMaps()
      .vue()
      .sass('resources/sass/app.scss', 'public/css');

public/js/popper.js - Checked
In the end restart the application and it must works!
Posted by: Guest on September-22-2021

Code answers related to "DevTools failed to load source map: Could not load content for http://localhost:8000/js/popper.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE"

Code answers related to "Javascript"

Browse Popular Code Answers by Language