Several issues trying to snap NodeJS package

I spend a lot of time to fix probably the same 2 and 3 issues. The solution for me was:

    build-environment:
        - SUDO_UID: '0'
        - SUDO_GID: '0'
        - SUDO_USER: 'root'

You could check for more details here:

1 Like