pinpoint gets Http error as it tries retrieve with webpack ://// #55
Description
Activity
I have the same problem with "Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https." Error.
Reacted by Luca Ritossa, Stefan Karlsson, Priyantha Lankapura, Sagie Maoz, Tomasz Gemski, TJ Ward, vvpospelo, Dmitry A. Efimenko and SuspendedPhanI also have the same problem with Angular 5.x + Angular CLI. Does anyone know a fix or workaround?
Reacted by dominikse, ErinHawkins, Sean Rankin, Sagie Maoz, Miloslav Kobalicek, Tomasz Gemski, Jinal Kothari, vvpospelo, Dmitry A. Efimenko and SuspendedPhanAny fix for this yet?
hmm same issue. any one have a solution or another lib which works with webpack?
I'm also hitting this issue. I suspect the solution involves reconfiguring webpack-config.js, but I have no idea how. Anyone have any ideas?
Having the same issue in Angular 8. It does complain about CORS:
Access to XMLHttpRequest at 'webpack:///polyfills.js' from origin 'http://localhost:4200' has been blocked by CORS policy
ERROR Error: Uncaught (in promise): Error: HTTP status: 0 retrieving webpack:///polyfills.js
Workaround: #65
I use StackTraceGPS. pinpoint to get the un-uglified stack but got error when stacktracegps starts to find my vendor code (REACT) from webpack.

Error:
Error: HTTP status: 0 retrieving webpack:///~/react/lib/ReactCompositeComponent.js at XMLHttpRequest.r.onreadystatechange
Webpack config:
devtool: 'source-map', entry: './src/index', target: 'web', output: { path: __dirname + '/dist', // Note: Physical files are only output by the production build tasknpm run build`.publicPath: '/myapp/',
filename: 'bundle.js'
},
devServer: {
contentBase: './dist'
},
plugins: [
new webpack.DefinePlugin(GLOBALS),
new webpack.optimize.UglifyJsPlugin({
compress: { warnings: false },
output: { comments: false },
sourceMap: true
}),
new BundleAnalyzerPlugin({analyzerMode: 'static', generateStatsFile: true, openAnalyzer: false}),
extractSass
],
`