Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2849

broken symlinks to node-gyp and yarn in ~/bin/ folder on crwjen-1

XMLWordPrintable

    • False
    • None
    • False

      ssh to crwjen-1, then:

      [hudson@crwjen-1 ~]$ cd bin/
      [hudson@crwjen-1 bin]$ ll
      lrwxrwxrwx 1 root root 47 Mar 25 04:17 7z -> /home/hudson/.nvm/versions/node/v12.22.5/bin/7z [WORKS]
      lrwxrwxrwx 1 root root 53 Jan 16 01:21 node-gyp -> /home/hudson/.nvm/versions/node/v12.22.5/bin/node-gyp [BROKEN]
      lrwxrwxrwx 1 root root 49 Jan 16 01:21 yarn -> /home/hudson/.nvm/versions/node/v12.22.5/bin/yarn [BROKEN]
      

      Meanwhile on x64 and ppc boxes, symlinks work:

      [hudson@x86-64-rhel8-p1 bin]$ ll
      lrwxrwxrwx 1 root root 47 Mar 25 04:50 7z -> /home/hudson/.nvm/versions/node/v14.18.2/bin/7z
      lrwxrwxrwx 1 root root 53 Mar 25 04:50 node-gyp -> /home/hudson/.nvm/versions/node/v14.18.2/bin/node-gyp
      lrwxrwxrwx 1 root root 49 Mar 25 04:50 yarn -> /home/hudson/.nvm/versions/node/v14.18.2/bin/yarn
      
      [hudson@crwjen-ppc-1 bin]$ ll
      lrwxrwxrwx 1 root root 47 Mar 24 22:48 7z -> /home/hudson/.nvm/versions/node/v14.18.2/bin/7z
      lrwxrwxrwx 1 root root 53 Mar 24 22:48 node-gyp -> /home/hudson/.nvm/versions/node/v14.18.2/bin/node-gyp
      lrwxrwxrwx 1 root root 49 Mar 24 22:48 yarn -> /home/hudson/.nvm/versions/node/v14.18.2/bin/yarn
      

      Not sure if this ever worked on s390x, but it might be related to why on s390x we are trying to re-download node headers for theia builds (rather than just using what's already installed locally) ?

      Also works on z2 and z3:

      [hudson@worker-0 ~]$ cd bin; ll
      lrwxrwxrwx 1 root root 47 Mar 23 10:22 7z -> /home/hudson/.nvm/versions/node/v14.18.2/bin/7z
      lrwxrwxrwx 1 root root 53 Mar 23 10:22 node-gyp -> /home/hudson/.nvm/versions/node/v14.18.2/bin/node-gyp
      lrwxrwxrwx 1 root root 49 Mar 23 10:22 yarn -> /home/hudson/.nvm/versions/node/v14.18.2/bin/yarn
      

              kcrane@redhat.com Kirk Crane
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: