Ich versuche, ein npm Paket zu unserem Nexus privaten Registrierung mit diesem Befehl zu veröffentlichen:npm zu nexus veröffentlichen
npm publish --registry http://localhost:8081/nexus/content/repositories/npmjs
aber ich bekomme diese Fehlermeldung:
npm ERR! path C:\Users\USER~1.MAJ\AppData\Local\Temp\npm-13292-e2329f38\tmp\fromDir-e7e42b8d\package.tgz
npm ERR! code EPERM
npm ERR! errno -4048
npm ERR! syscall unlink
npm ERR! Error: EPERM: operation not permitted, unlink 'C:\Users\USER~1.MAJ\AppData\Local\Temp\npm-13292-e2329f38\tmp\fromDir-e7e42b8d\package.tgz'
...
npm ERR! Please try running this command again as root/Administrator.
und das ist Meine NPM-Konfiguration (.npmrc):
registry: 'http://localhost:8081/nexus/content/repositories/npmjs/',
_auth: 'YWRtaW46YWRtaW4xMjM=',
'always-auth': true
Wie kann ich das lösen?
Edit:
npm -v
: 5.3.0
node -v
: v8.8.0
npm config get registry
: http://localhost:8081/nexus/content/repositories/npmjs
Weitere Informationen, welches System verwenden Sie, welche Version von Node, welche Version von NPM? Sind Sie auch lokal verbunden? – Lissy
@Lissy bitte überprüfen Sie mein Update –