Warnings from webpack
I only see /lib/Flux.js so I'm not actually sure why this warning is happening? This is from a webpack build btw.
Update: I'm getting these warnings from a require in /lib/Flux.js. The intent is to require the Facebook flux module but it looks like it's requiring lib/Flux.js again due to OS X being case-insensitive by default. This is from a webpack build btw.
WARNING in ./~/flummox/lib/Flux.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expected.
WARNING in ./~/flummox/lib/flux.js
There is another module with an equal name when case is ignored.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Rename module if multiple modules are expected or use equal casing if one module is expected.
It looks like this is causing a problem with my frontend build.
lib/Flux.js requires the flux dispatcher (var _Dispatcher = require('flux');) but my webpack build looks like it's requiring lib/Flux.js again.
Reinstalling OS X with a case-sensitive filesystem would be a bit drastic and last time I tried that Adobe CS got all pissy. Are other people hitting this issue? Any way around it without forking/renaming files?
I'm currently getting past this by explicitly telling webpack how to require flux but this seems pretty hacky.
resolve: {
alias: {
'flux': path.join(__dirname, '../node_modules/flummox/node_modules/flux')
}
},
We are hitting the same issue here. The workaround works, but would be nice to have it working out of the box.