See https://github.com/webpack/webpack/issues/4039#issuecomment-477779322 Found this when starting a tutorial, where I first show `require` and `module.exports` being used. Error is: > get_nice_message.js:1 Uncaught TypeError: Cannot assign to read only property 'exports' of object '#<Object>' This normally happens if you mix require & import/export. But, that's not happening in this case. I haven't checked into the issue much yet...