evanw / evanw/node-source-map-support

Refused to get unsafe header "SourceMap"

Open
#68 6 comments 5 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
223
PR merge metrics
No merged PRs in 30d

Description

I'm trying to use this module in the browser in combination with bluebird and webpack.

I'm loading it via `import 'source-map-support/register'` and all builds fine but when I run the code in the browser I throws

```
Refused to get unsafe header "SourceMap"
Refused to get unsafe header "X-SourceMap"
```

any ideas what is going wrong here?
- Chrome Version 43.0.2357.81 (64-bit) (Mac)
- source-map-support@0.3.1 node_modules/source-map-support

![screen shot 2015-06-01 at 12 38 34](https://cloud.githubusercontent.com/assets/790842/7911163/3eacb90c-085b-11e5-88a0-13d9962bf9bf.png)
![screen shot 2015-06-01 at 12 38 24](https://cloud.githubusercontent.com/assets/790842/7911164/3ead48e0-085b-11e5-9da8-c05eb4628e1c.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.