chrome map.js parsing error
majkelch opened this issue · 4 comments
majkelch commented
Chrome Version 49.0.2623.87 (64-bit) shows following error:
Failed to parse SourceMap: http://.../bower_components/angular-locker/dist/angular-locker.min.js.map
I think it's due to this line:
/*! angular-locker v2.0.4 | (c) 2016 @tymondesigns | https://github.com/tymondesigns/angular-locker */
wembernard commented
👍
wembernard commented
Anyone having a workaround for this issue ?
gabrieleciech commented
I'm having the same problem. How can we investigate more to identify the problem?
cdriscol commented
Source maps are JSON, so having the first line as a comment is invalid. Also throws issues when using this library and enabling source maps in https://github.com/gruntjs/grunt-contrib-concat or https://github.com/gruntjs/grunt-contrib-uglify