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
Socket.io warnings #10
Comments
There are some problems with |
👍 |
It seems that try {
module.exports = require('../build/Release/bufferutil');
} catch (e) { try {
module.exports = require('../build/default/bufferutil');
} catch (e) { try {
module.exports = require('./BufferUtil.fallback');
} catch (e) {
console.error('bufferutil.node seems to not have been built. Run npm install.');
throw e;
}}} In my opinion, maybe it's not a issue, just a warning because this try catch flow usage. |
I finally figure out this is a issue with webpack See socketio/engine.io-client#376, webpack/webpack-dev-server#191 |
thanks for investigating! |
it is possible to disable react hot somehow until it fixed? |
|
Hmmm I'd honestly rather have some warnings flash up than forego hot reloading... is this an option? Or do you think the issue will be resolved quite soon? Or perhaps I can just use an older release of this boilerplate? |
Hot reload should be fixed in 0.2.9. But using target |
@chentsulin, I overwrote my 0.2.8
Reverting back to the old |
It's most likely a React issue or issue with react-hot-load. And also not everything in flux is hot-reloadable, so sometimes you should do a full refresh in your browser (or electron renderer). |
I got it working again by using:
I had to remove |
close via #35 |
I'm seeing all these warnings. And they also appear in the browser console. Any idea what's causing this? I think this is just the develop branch, not the master...
WARNING in (webpack)-dev-server/
/socket.io-client//engine.io-client//ws/lib/BufferUtil.js/socket.io-client/Module not found: Error: Cannot resolve 'file' or 'directory' ../build/Release/bufferutil in /Users/me/Development/myapp/node_modules/webpack-dev-server/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/lib
@ (webpack)-dev-server/
/engine.io-client//ws/lib/BufferUtil.js 8:19-57WARNING in (webpack)-dev-server/
/socket.io-client//engine.io-client//ws/lib/BufferUtil.js/socket.io-client/Module not found: Error: Cannot resolve 'file' or 'directory' ../build/default/bufferutil in /Users/me/Development/myapp/node_modules/webpack-dev-server/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/lib
@ (webpack)-dev-server/
/engine.io-client//ws/lib/BufferUtil.js 10:19-57WARNING in (webpack)-dev-server/
/socket.io-client//engine.io-client//ws/lib/Validation.js/socket.io-client/Module not found: Error: Cannot resolve 'file' or 'directory' ../build/Release/validation in /Users/me/Development/myapp/node_modules/webpack-dev-server/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/lib
@ (webpack)-dev-server/
/engine.io-client//ws/lib/Validation.js 8:19-57WARNING in (webpack)-dev-server/
/socket.io-client//engine.io-client//ws/lib/Validation.js/socket.io-client/Module not found: Error: Cannot resolve 'file' or 'directory' ../build/default/validation in /Users/me/Development/myapp/node_modules/webpack-dev-server/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/lib
@ (webpack)-dev-server/
/engine.io-client//ws/lib/Validation.js 10:19-57webpack: bundle is now VALID.
The text was updated successfully, but these errors were encountered: