Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-17285

node version alignment for Syndesis

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.10-GA
    • None
    • Build, Fuse Online
    • None
    • False
    • False
    • % %
    • Todo

    Description

      Syndesis has upgraded node and yarn versions : https://github.com/jboss-fuse/syndesis/blob/1.13.x/app/pom.xml#L55-L56

      node and yarn install and building are difficult in PNC because of the firewall which blocks downloads from the outside - there is a very tight proxy which basically only allows through maven dependency traffic from certain repositories.    We're using the frontend-maven-plugin to build, but the issues we run into are with node dependencies like node-sass and iltorb which need to be installed.    We generally install these by hosting them on an internal server (http://download-node-02.eng.bos.redhat.com/rcm-guest/staging/fuse/) and then downloading them manually in the build and installing them into cache directories locally so they are found in the build.

      yarn

      yarn version : v1.22.5

      hosted : https://download-node-02.eng.bos.redhat.com/rcm-guest/staging/fuse/yarn/dist/v1.22.5/

      node

      node version : v14.17.3

      node version v14.17.3 uses NODE_MODULE_VERSION 83 (see https://nodejs.org/en/download/releases/)

      hosted : https://download-node-02.eng.bos.redhat.com/rcm-guest/staging/fuse/npm/dist/v14.17.3/

      node-sass

      The applicable node-sass version can be version 4.14 or greater according to the support guide here (https://www.npmjs.com/package/node-sass).    node-sass is deprecated (https://sass-lang.com/blog/libsass-is-deprecated) - do we still use it?   The suggestion is to use Dart Sass instead.

      downloaded the most recent version supporting NODE_MODULE_VERSION 83 

      hosted : http://download-node-02.eng.bos.redhat.com/rcm-guest/staging/fuse/npm/node-sass/v6.0.1/

      iltorb 

      iltorb is deprecated - do we still use it?    See https://github.com/nstepien/iltorb/issues/118

      There is no iltorb release which matches NODE_MODULE_VERSION 83.   The most recent iltorb release looks to be against NODE_MODULE_VERSION 79 : https://github.com/nstepien/iltorb/releases/tag/v2.4.5

      I've tried using the NODE_MODULE_VERSION 79 version of iltorb in the place of a NODE_MODULE_VERSION 83 version and that results in errors.

      Attachments

        Activity

          People

            pcongius Pasquale Congiusti
            tcunning@redhat.com Thomas Cunningham
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: