Open sthzg opened 8 years ago
Hi @sthzg,
thank you for the feedback. Yes, there are some problems with peer deps not loading correctly. I removed isparta-instrumenter-loader (which is deprecated) in favour of isparta-loader, which makes the first problem go away. Webpack-dev-Server still has a strange dependency baked in (there already exists an issue in the repo for this). Karma-Webpack does not have official support for webpack-2 currently.
I honestly dont know when webpack-2 will be released as the next stable (usually, the anwer is "when its done"), but I think this issues will go away when it is. Hope we do not have to wait that long for it :(
One thing I've just noticed (and I don't know if you have any influence on it) is that running
npm ls
on the 4.x generator will produce npm errors:They are obviously dependencies from dependencies, however I don't have this problem when running the command on the stable generator.
Update
peerDependencies
entries in the offending packagesThe installed Webpack version from the template is
^2.1.0-beta.6
. As npm3 doesn't install peerDependencies, the first two errors make sense (^1.5.3
and^1.4.0
won't match2.x
releases, right?). Not sure though why the last one doesn't match, since2.1.0-beta.6
should qualify as greater than2.0.3-beta
. 💭