Skip to content
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

Open
viviancpy opened this issue Aug 30, 2017 · 7 comments
Open

pinpoint gets Http error as it tries retrieve with webpack ://// #55

viviancpy opened this issue Aug 30, 2017 · 7 comments

Comments

@viviancpy
Copy link

I use StackTraceGPS. pinpoint to get the un-uglified stack but got error when stacktracegps starts to find my vendor code (REACT) from webpack.
image

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
],

`

@pierre-luc
Copy link

I have the same problem with "Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https." Error.

@lankaapura
Copy link

I also have the same problem with Angular 5.x + Angular CLI. Does anyone know a fix or workaround?

@AdrianMrn
Copy link

Any fix for this yet?

@OneCyrus
Copy link

hmm same issue. any one have a solution or another lib which works with webpack?

@rmehlinger
Copy link

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?

@DmitryEfimenko
Copy link

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

@MetaSam
Copy link

MetaSam commented Oct 20, 2020

Workaround: #65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

8 participants