I run my local dev site on ngrok and the webpack-dev-server spits out errors to the console on a regular basis:
GET https://localhost:3035/sockjs-node/info?t=1566173800826 net::ERR_CERT_AUTHORITY_INVALID @ sockjs.js:1795
Any ideas what I need to change to stop these errors appearing? Nothing I've tried so far has worked. Or do I need to make choice between using webpacker and ngrok?
Probably because you're using SSL to access your site over ngrok and your dev server is not. Try using http with ngrok.
Join 30,005+ developers who get early access to new screencasts, articles, guides, updates, and more.