Question

I'm trying to build node v0.11.12-release with the --harmony-generators flag defaulted to always on. I thought I'd be able edit this line to have the value true, but when I do that I get the below error whenever I run node.

Extension or internal compilation error. Segmentation fault: 11

line I tried to edit: deps/v8/src/flag-definitions.h

DEFINE_bool(harmony_generators, true, "enable harmony generators")

Any ideas? Thanks a lot.

Was it helpful?

Solution

Aliasing sounds like a better idea, but if you are sure that's what you want you can set some v8 flags with configure script:

./configure --v8-options="--harmony-generators"
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top