Building node errors on npm install

XMLWordPrintable

      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.

              Assignee:
              Unassigned
              Reporter:
              Jirka Doubek
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: