Changes between Initial Version and Version 1 of Ticket #16919


Ignore:
Timestamp:
Mar 27, 2013, 7:35:47 PM (7 years ago)
Author:
bill
Comment:

Confirmed that Number("0.10.0".match(/\d+\.\d+/)[0]) returns 0.1, and that code is still there in trunk.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16919

    • Property Summary changed from BUildSystem to node version sniffing problem for >= 0.10
  • Ticket #16919 – Description

    initial v1  
    33
    44Error log report:
     5{{{
    56{ [Error: spawn EMFILE] code: 'EMFILE', errno: 'EMFILE', syscall: 'spawn' }
    67Error: spawn EMFILE
     
    1314    at ChildProcess.EventEmitter.emit (events.js:98:17)
    1415    at Process.ChildProcess._handle.onexit (child_process.js:754:12)
     16}}}
    1517
    1618The error is in the file process.js in src/util/build/node/ folder:
     
    1820The condition check on version >=0.8 is wrong because the node version 0.10.1 is converted to 0.1.
    1921
     22{{{
    2023var version = Number(process.version.match(/\d+\.\d+/)[0]) //will return 0.1 for node version 0.10.0 and will be considered as inferior as 0.8 :(
    2124...
     
    2528++status;
    2629}
     30}}}
    2731
    2832Thanks !