joyent/node — Issue #2452: vcbuild: node_use_isolates is not defined
Author: llafuente
Created: 2012-01-02 19:23:25+00:00
State: open

Hi,

I didnt pull a request because I dont know what is the purpose of this var.

Last version (master) dont compile because this var is not defined, quick fix is to add

> 'node_use_isolates' : 'false',
>

to "node.gyp"@"variables"

Here is the report for google reasons :)

>
>Traceback (most recent call last):
>
> File "tools\gyp_node", line 59, in
>
> run_gyp(gyp_args)
>
> File "tools\gyp_node", line 18, in run_gyp
>
> rc = gyp.main(args)
>
> File ".\tools\gyp\pylib\gyp\__init__.py", line 471, in main
>
> options.circular_check)
>
> File ".\tools\gyp\pylib\gyp\__init__.py", line 111, in Load
>
> depth, generator_input_info, check, circular_check)
>
> File ".\tools\gyp\pylib\gyp\input.py", line 2270, in Load
>
> depth, check)
>
> File ".\tools\gyp\pylib\gyp\input.py", line 387, in LoadTargetBuildFile
>
> build_file_path)
>
> File ".\tools\gyp\pylib\gyp\input.py", line 1010, in ProcessVariablesAndConditionsInDict
>
> build_file)
>
> File ".\tools\gyp\pylib\gyp\input.py", line 1025, in ProcessVariablesAndConditionsInList
>
> ProcessVariablesAndConditionsInDict(item, is_late, variables, build_file)
>
> File ".\tools\gyp\pylib\gyp\input.py", line 984, in ProcessVariablesAndConditionsInDict
>
> ProcessConditionsInDict(the_dict, is_late, variables, build_file)
>
> File ".\tools\gyp\pylib\gyp\input.py", line 842, in ProcessConditionsInDict
>
> if eval(ast_code, {'__builtins__': None}, variables):
>
> File "", line 1, in
> NameError: name 'node_use_isolates' is not defined while evaluating condition 'node_use_isolates=="true"' in node.gyp while trying to load node.gyp
>
> Failed to create vc project files.