react-responsive: Installing v8.0.0 - Cannot find source file 'webpack:///dist/react-responsive.js'

Just installed v8.0, and currently getting this error:

WARNING in ../node_modules/react-responsive/dist/react-responsive.js
Module Warning (from ../node_modules/source-map-loader/index.js):
(Emitted value instead of an instance of Error) Cannot find source file 'webpack:///dist/react-responsive.js': Error: Can't resolve './webpack:///dist/react-responsive.js' in '{...project path}/node_modules/react-responsive/dist'

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 7
  • Comments: 19 (9 by maintainers)

Commits related to this issue

Most upvoted comments

@Fixten Sorry work has been crazy lately and I haven’t had much time - I have this marked us unread so it shows up in my feed every day and reminds me to look into it, so hopefully soon!

Solution found - in 9.0.0 all of the UMD + requirejs stuff is gone.

Updated to 8.0.3 but still get the warning.

Hey all - pushed a fix to master, can you try it out and let me know if it fixes it for you? (Change your package.json version to github:contra/react-responsive)

If it works fine for everyone I can publish it