facebook

Node or NPM conflict between Mint(Ubuntu) cli and Terminal+/cli

  1. CodeMix & Angular IDE > Getting Help

This topic contains 2 replies, has 2 voices, and was last updated by  jbeard 1 month, 4 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #673163 Reply

    jbeard
    Participant

    I am working on an Angular project, and have a weird issue that seems to be about the Terminal+ shell environment, somehow.

    I’ve included my version output from npm, if that’s of interest:
    $ npm version
    {
    ‘fueland-info’: ‘0.0.0’,
    npm: ‘6.14.12’,
    ares: ‘1.16.1’,
    brotli: ‘1.0.9’,
    cldr: ‘37.0’,
    icu: ‘67.1’,
    llhttp: ‘2.1.3’,
    modules: ’83’,
    napi: ‘7’,
    nghttp2: ‘1.41.0’,
    node: ‘14.16.1’,
    openssl: ‘1.1.1k’,
    tz: ‘2020a’,
    unicode: ‘13.0’,
    uv: ‘1.40.0’,
    v8: ‘8.4.371.19-node.18’,
    zlib: ‘1.2.11’
    }

    My issue is that the generated app acts differently when run within the eclipse/Terminal+ environment (whether using the start button, or just using ng serve in the command line), than the same app run in an actual bash terminal window.

    If run in a standard terminal window, everything works as expected, but within the eclipse/Terminal+ environment, it’s as if some of the modules are not available (In this case, it acts as if BroserAnimationModule (Or NoopAnimationModule) are not present.

    I’ve spent a couple days looking for a difference between the environments, and am a bit stumped.
    I’m hoping someone there has some clue to give me on this

    #673180 Reply

    Salvador Cabrera
    Participant

    Hi jbeard,

    Can you please let us know what version of angular and angular cli you are using?
    Also, please try running the application using SKIP_DISABLE_IVY=1 ng serve and check if there is any difference.

    Cheers,
    Sal

    #673207 Reply

    jbeard
    Participant

    Hi Sal,

    Both environments report as follows:
    —————————————
    Angular CLI: 11.2.8
    Node: 14.16.1
    OS: linux x64

    Angular: 11.2.9
    … animations, common, compiler, compiler-cli, core, forms
    … language-service, platform-browser, platform-browser-dynamic
    … router
    Ivy Workspace: Yes

    Package Version
    ———————————————————
    @angular-devkit/architect 0.1102.8
    @angular-devkit/build-angular 0.1102.8
    @angular-devkit/core 11.2.8
    @angular-devkit/schematics 11.2.8
    @angular/cdk 11.2.8
    @angular/cli 11.2.8
    @angular/material 11.2.8
    @schematics/angular 11.2.8
    @schematics/update 0.1102.8
    rxjs 6.5.3
    typescript 4.0.6

    I can report though that your suggestion to run with “SKIP_DISABLE_IVY=1 ng serve” does fix the problem in Terminal+ (without causing issues running in a regular terminal).

    Thanks for that

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Node or NPM conflict between Mint(Ubuntu) cli and Terminal+/cli

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