Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
580 views
in Web Development by 11 11 15

I got this error "DevTools failed to load SourceMap: Could not load content for" when I used this file 

<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs"></script>

DevTools failed to load SourceMap: Could not load content for https://cdn.jsdelivr.net/npm/@tensorflow/tf.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

1 Answer

0 like 0 dislike
by 16 25 39

First, make sure that you don't have any ads blocking extension like ad block
If you don't have adblock, I suggest to change the jsdeliver url to the js version as below
replace this line

<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs"></script>

with this line

<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs/dist/tf.min.js"> </script>
If you don’t ask, the answer is always NO!
...