Getting "warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]" when trying to install cpp-loader
Not sure how to fix this. I have installed everything on the requirement list. Im on 16.04 Ubuntu
It seems related to the following issue: https://stackoverflow.com/questions/41673546/clang-warning-warning-unknown-warning-option-wno-maybe-uninitialized
My guess is that you don't have emscripten in your path.
Hm errata. Can you try editing node_modules/cpp-loader/package.json to replace the following line:
"install": "clang++ $(llvm-config --cxxflags --ldflags) ./traverse/traverse.cc -lclang -o traverse.bin"
by:
"install": "clang++ $(llvm-config --cxxflags --ldflags) -Wno-unknown-warning-option ./traverse/traverse.cc -lclang -o traverse.bin"
Then, while you're still in node_modules/cpp-loader, run npm install. Go back to your project, and run webpack again. I think it should work.
Apparently that wasn the problem. That was just some dumb warning. This is what I get after trying to install it. https://imgur.com/a/QXrs3
How do I even enable these errors? Ive tried everything. The only solution seemed to be to change common.gypi. But that does not seem to have any effect.