NPM publishing fails with "env: ‘to’: No such file or directory"