When running on node alpine images, we are getting following error:

      #!bash
      
      sh: can't create builderror.log: Permission denied
      > node-sass@4.9.2 install /opt/atlassian/pipelines/agent/build/node_modules/node-sass
      > node scripts/install.js
      Unable to save binary /opt/atlassian/pipelines/agent/build/node_modules/node-sass/vendor/linux_musl-x64-57 : { Error: EACCES: permission denied, mkdir '/opt/atlassian/pipelines/agent/build/node_modules/node-sass/vendor'
      
      

      Adding a temp hack of unset NPM_CONFIG_USER solves the problem, but this shouldnt be done like that.

          Form Name

            [BCLOUD-16821] Building node errors on npm install

            No work has yet been logged on this issue.

              Unassigned Unassigned
              832fc79cea35 Jirka Doubek
              Affected customers:
              1 This affects my team
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: