-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
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
pinpoint gets Http error as it tries retrieve with webpack ://// #55
Comments
I have the same problem with "Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https." Error. |
I also have the same problem with Angular 5.x + Angular CLI. Does anyone know a fix or workaround? |
Any 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:
|
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 task
npm 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
],
`
The text was updated successfully, but these errors were encountered: