We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
source-map-support doesn't install a global when using RequireJS - this causes client.js to throw a ReferenceError: sourceMapSupport is not defined.
The text was updated successfully, but these errors were encountered:
I have the same issue.
Sorry, something went wrong.
Temporary workaround using patch-package: patches/karma-source-map-support+1.4.0.patch
patch-package
patches/karma-source-map-support+1.4.0.patch
diff --git a/node_modules/karma-source-map-support/lib/client.js b/node_modules/karma-source-map-support/lib/client.js index c28d40b..5e28218 100644 --- a/node_modules/karma-source-map-support/lib/client.js +++ b/node_modules/karma-source-map-support/lib/client.js @@ -1 +1,2 @@ -sourceMapSupport.install(); +// https://github.com/tschaub/karma-source-map-support/issues/28 +if (typeof sourceMapSupport !== 'undefined') sourceMapSupport.install();
No branches or pull requests
source-map-support doesn't install a global when using RequireJS - this causes client.js to throw a ReferenceError: sourceMapSupport is not defined.
The text was updated successfully, but these errors were encountered: