New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot assign to read only property 'exports' of object '#<Object>' #2010
Comments
Please submit the reproducible repo. |
I think problem on minimizer side, you should disable minimizer when you in development mode, also looks you use old uglify-js version and plugin |
I disable minimizer when in development mode, and so that It's not about the uglify-js.
|
module.exports = function SockJSClient(url) {
} _createClass(SockJSClient, [{ }, { return SockJSClient; It's the info in console. |
Please create minimum reproducible test repo |
Closing due to inactivity. Please test with latest version and feel free to reopen if still regressions. Thanks! |
S:\express my project\node_modules\mongoose\lib\connection.js:62 TypeError: Cannot assign to read only property 'plugins' of object '#' this problem solution |
I encountered the same problem. I found that if compiling webpack-dev-server with babel7, this would occur. |
use webpack-dev-server@3.5.1 instead of 3.9.0 solved the problem |
It didn't help me. |
dev doesn't work.The info is:
Uncaught TypeError: Cannot assign to read only property 'exports' of object '#'
at Module. (SockJSClient.js:28)
at Module../node_modules/webpack-dev-server/client/clients/SockJSClient.js (SockJSClient.js:69)
at webpack_require (bootstrap:783)
at fn (bootstrap:143)
at Object../node_modules/webpack-dev-server/client/socket.js (socket.js:45)
at webpack_require (bootstrap:783)
at fn (bootstrap:143)
at Module. (index.js:8)
at Module../node_modules/webpack-dev-server/client/index.js?http://localhost:8082 (index.js:176)
at webpack_require (bootstrap:783)
It goes well when I change the webpack-dev-server version to 3.5.1
The text was updated successfully, but these errors were encountered: