silentmatt / expr-eval

Mathematical expression evaluator in JavaScript
http://silentmatt.com/javascript-expression-evaluator/
MIT License
1.18k stars 239 forks source link

Getting "DevTools failed to load SourceMap" Error On CodePen When Trying To Use Expr-Eval #233

Open DragonOsman opened 3 years ago

DragonOsman commented 3 years ago

Hi, all.

It's just as the title says, basically. The full error message I'm getting (in the console) is:

DevTools failed to load SourceMap: Could not load content for webpack://babelNpmProcessor/node_modules/@babel/core/node_modules/@babel/parser/lib/index.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME

What do I about this? Any help is appreciated. Thanks in advance.

Edit for further info: I think this error is blocking everything. I get it from trying to load expr-eval in JS settings on CodePen.

Nothing appears in my browser window aside from the stuff from the FreeCodeCamp test script output.

silentmatt commented 3 years ago

That shouldn't affect anything, but you can avoid that by changing the script source to https://cdnjs.cloudflare.com/ajax/libs/expr-eval/2.0.2/bundle.js (bundle.js instead of bundle.min.js).