i have v16.12.0 react-dom 16.12.0 react-scripts: 3.3.0 After I run npm start I get a message in the console "[HMR] Waiting for update signal from WDS..." The page still shows up and refreshes automatically whenever a change is made but it only works on Chrome and Mozilla. I tried
var connection = new WebSocket(
url.format({
protocol: window.location.protocol === 'https:' ? 'wss' : 'ws',
hostname: window.location.hostname,
port: window.location.port,
// Hardcoded in WebpackDevServer
pathname: '/sockjs-node',
slashes: true,
})
);
its working but whenever i download a package I get the same error again
How can i fix that?
Aucun commentaire:
Enregistrer un commentaire