facebook

In Eclipse, npm and node version mismatch between Ant and Terminal+

  1. CodeMix & Angular IDE
  2.  > 
  3. Getting Help
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #673947 Reply

    skuenzli
    Participant

    I am unable to see the same npm and node versions from Ant as I get in Terminal+. Can you help me set up my environment to see the latest npm and node in Eclipse?

    I get a working client app when I build within Terminal+.

    I get a broken client app when I build within Ant. (I have tried Ant exec tasks with both npm.cmd itself, and simply opening a shell script in C:Usersskuen.codemix-storegit-bashbinsh.exe…)

    When I run “npm version” in Terminal+, I get this:

    {
    ‘wackadoo-client’: ‘0.0.0’,
    npm: ‘6.14.8’,
    ares: ‘1.16.0’,
    brotli: ‘1.0.7’,
    cldr: ‘37.0’,
    icu: ‘67.1’,
    llhttp: ‘2.0.4’,
    modules: ’83’,
    napi: ‘6’,
    nghttp2: ‘1.41.0’,
    node: ‘14.9.0’,
    openssl: ‘1.1.1g’,
    tz: ‘2020a’,
    unicode: ‘13.0’,
    uv: ‘1.39.0’,
    v8: ‘8.4.371.19-node.13’,
    zlib: ‘1.2.11’
    }

    When I run “npm version” in Ant, I get this:

    [exec] {
    [exec] ‘wackadoo-client’: ‘0.0.0’,
    [exec] npm: ‘6.10.3’,
    [exec] ares: ‘1.15.0’,
    [exec] brotli: ‘1.0.7’,
    [exec] cldr: ‘35.1’,
    [exec] http_parser: ‘2.8.0’,
    [exec] icu: ‘64.2’,
    [exec] llhttp: ‘1.1.4’,
    [exec] modules: ’72’,
    [exec] napi: ‘4’,
    [exec] nghttp2: ‘1.39.2’,
    [exec] node: ‘12.10.0’,
    [exec] openssl: ‘1.1.1c’,
    [exec] tz: ‘2019a’,
    [exec] unicode: ‘12.1’,
    [exec] uv: ‘1.31.0’,
    [exec] v8: ‘7.6.303.29-node.16’,
    [exec] zlib: ‘1.2.11’
    [exec] }

    #673949 Reply

    support-swapna
    Moderator

    Hi,

    The Terminal+ allows you to select the node and npm versions and will download them for you, and set them up in the environment.
    You can select the versions of your choice from the project’s CLI Tools preferences page. Click on the gear icon besides the project selection box in the Terminal+ view to open the CLI Tools preference page. You can select the versions of your choice and once you apply the changes and reopen a tab in the Terminal+ view, the selected versions will be downloaded for you.

    Regarding the ANT setup, you can install the Node and NPM versions of your choice globally in your system.
    Please see these links on how to install them in the system :
    https://phoenixnap.com/kb/install-node-js-npm-on-windows
    https://nodejs.org/en/download/releases/

    Hope this helps. Please let us know if you have further questions.

    –Swapna
    Genuitec Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: In Eclipse, npm and node version mismatch between Ant and Terminal+

You must be logged in to post in the forum log in