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.

when pulling 'npm install react-dev-utils@10.0.0' the file 'webpackHotDevClient.js' is not the latest one

See original GitHub issue

Describe the bug

when pulling ‘npm install react-dev-utils@10.0.0’ the file ‘webpackHotDevClient.js’ is not the latest one. The file should include the corrected line #62: protocol: window.location.protocol === 'https:' ? 'wss' : 'ws' but it includes: protocole: 'ws'

this break the option to use https in development mode.

Did you try recovering your dependencies?

yes. Tried to rebuild the application from scratch using ‘create-react-app’, but still getting the same result. I basically followed the instructions on bug #8075, #8079

Which terms did you search for in User Guide?

https, websocket, error


Environment Info:

    OS: Linux 4.19 Alpine Linux
    CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
    Node: 12.2.0 - /usr/local/bin/node
    Yarn: 1.15.2 - /usr/local/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
    Chrome: Not Found
    Firefox: Not Found
    react: ^16.12.0 => 16.12.0 
    react-dom: ^16.12.0 => 16.12.0 
    react-scripts: 3.3.0 => 3.3.0 
    create-react-app: Not Found

Steps to reproduce

(Write your steps here:)

  1. npx create-react-app .
  2. ls -la node_modules/react-dev-utils

Expected behavior

The file should be updated as of 12/8/19 and it is showing 12/7/19

Actual behavior

Reproducible demo

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

Pau1fitzcommented, Jan 9, 2020

hey @heyimalex, hope you had a nice Xmas and New Year. Sorry to be asking the same questions here, but any idea on timings of release for this? We are also waiting to implement a security fix that is dependent upon this.

ianschmitzcommented, Jan 31, 2020

Releasing in the next couple hours.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm-install - npm Docs
Description. This command installs a package and any packages that it depends on. If the package has a package-lock, or an npm shrinkwrap...
Read more >
How to specify local modules as npm package dependencies
Using the --save option in this command is simply putting "mymodule": "0.0.0" into my package.json (doesn't reference the filepath location). If i then...
Read more >
How to troubleshoot NPM problems - JFrog
The npm client is used by many application pipelines to pull javascript ... in the request.log file) or use one of these examples...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found