question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

`

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:9
  • Comments:7

github_iconTop GitHub Comments

10reactions
lankaapuracommented, Jan 26, 2018

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

9reactions
pierre-luccommented, Sep 29, 2017

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

vue.js - webpack dev-server: Avoid proxy errors on HTTP ...
This error message comes from node_modules/@vue/cli-service/lib/util/prepareProxy.js , which define a onError callback for node-http-proxy ;.
Read more >
Common errors | npm Docs
It's most likely a temporary npm registry glitch. Check npm server status and try again later. If the error persists, perhaps the published...
Read more >
How We Reduced Startup Time by 80% With Webpack
A deployment with clustered mode now takes around 12 seconds–down from almost 5 minutes!–to start serving requests. Keep in mind–this is 8 node ......
Read more >
error: cannot find module 'css-minimizer-webpack-plugin'
Webpack includes webpack-terser-plugin by default in order to minify the .js files ... Trying to deploy to heroku but I am getting an...
Read more >
Troubleshooting | Cypress Documentation
If the smoke test does not show a specific error yet fails, try printing the Electron crash stack to maybe pinpoint the problem...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found