NEWS
[erledigt] Hilfe => Veröffentlichung mit test-and-release
-
Hallo,
ich wollte eine neue Version von sprinklecontrol 1.0.0 veröffentlichen. Bekomme aber einen Fehler in deploy.
Kann mir jemand sagen, wie ich mich bei der Verbindung Github => npm richtig registriere und wo! Der TOKEN existiert ja nicht mehr.

npm warn publish npm auto-corrected some errors in your package.json when publishing. Please run "npm pkg fix" to address these errors. npm warn publish errors corrected: npm warn publish "repository.url" was normalized to "git+https://github.com/Dirk-Peter-md/ioBroker.sprinklecontrol.git" npm notice npm notice 📦 iobroker.sprinklecontrol@1.0.0 npm notice Tarball Contents npm notice 1.1kB LICENSE npm notice 3.5kB README.md npm notice 9.2kB admin/i18n/de/translations.json npm notice 8.8kB admin/i18n/en/translations.json npm notice 9.6kB admin/i18n/es/translations.json npm notice 9.6kB admin/i18n/fr/translations.json npm notice 9.6kB admin/i18n/it/translations.json npm notice 9.0kB admin/i18n/nl/translations.json npm notice 9.2kB admin/i18n/pl/translations.json npm notice 9.5kB admin/i18n/pt/translations.json npm notice 12.3kB admin/i18n/ru/translations.json npm notice 12.0kB admin/i18n/uk/translations.json npm notice 8.2kB admin/i18n/zh-cn/translations.json npm notice 19.6kB admin/img/info-big.png npm notice 70.8kB admin/index_m.html npm notice 37.4kB admin/index_m.js npm notice 51.8kB admin/sprinklecontrol.png npm notice 9.1kB admin/style.css npm notice 105.9kB admin/words.js npm notice 29.5kB io-package.json npm notice 589B lib/adapter-config.d.ts npm notice 18.9kB lib/evaporation.js npm notice 20.9kB lib/myConfig.js npm notice 8.9kB lib/sendMessageText.js npm notice 6.7kB lib/tools.js npm notice 69.2kB lib/valveControl.js npm notice 122.4kB main.js npm notice 2.2kB package.json npm notice Tarball Details npm notice name: iobroker.sprinklecontrol npm notice version: 1.0.0 npm notice filename: iobroker.sprinklecontrol-1.0.0.tgz npm notice package size: 188.4 kB npm notice unpacked size: 685.6 kB npm notice shasum: fd35e85c27587e72cdd01f54c4b5ec4754bdb8ce npm notice integrity: sha512-IYOkFpHhHHNHM/j+84bRWrFTIg== npm notice total files: 28 npm notice npm error code ENEEDAUTH npm error need auth This command requires you to be logged in to https://registry.npmjs.org/ npm error need auth You need to authorize this machine using `npm adduser` npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-03-21T09_48_01_665Z-debug-0.log Error: Process completed with exit code 1.Danke für Eure Hilfe
-
Du must den Adapter für die erste Veröffentlichung von der cli aus pubilzieren. Wenn das hingegen eine ein Update ist dann:
Auf npmjs das hier richtig für deinen Adapter ausfüllen.

und in
.github/workflows/test-and-release.yml

das hier wie im Bild oben ergänzen:
# Write permissions are required to create Github releases permissions: contents: write id-token: writeBin gerade unsicher ob
contents: writenicht schon immer da war@mcm1957 hoffe das ist alles richtig? :)
EDIT
Achtung das b in in ioBroker ist groß - das hat jemanden schon 1-2h gekostet :D -
Soweit ich sehe ist alles i.O. Aber mit Github und npm habe ich nicht viel am Hut. Es muss einfach laufen. Sorry für meine unkenntnis!


npm-Fehlercode ENEEDAUTH npm-Fehler benötigen Authentifizierung Dieser Befehl erfordert, dass Sie eingeloggt sind https://registry.npmjs.org/ npm-Fehler benötigt Authentifizierung Du musst diese Maschine mit 'npm adduser' autorisieren npm-Fehler Ein vollständiges Logbuch dieses Durchlaufs findet sich in: /home/runner/.npm/_logs/2026-03-21T12_52_04_869Z-debug-0.log Fehler: Der Prozess wurde mit Austrittscode 1 abgeschlossen.Der Fehler liegt beim einrichten der Authentifizierung.
Der Log sagt mir ja auch npm adduser.
Nur leider nicht wo :-( -

Deine Repobezeichnung ist falsch dopple
//EDIT: KA wieso ich da wieder ein rätsel gemacht habe - vor dem ioBroker darf kein / sein
-
Das war es, DANKE ! ! !
und ich habe an einer ganz anderen Ecke gesucht. :-)
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden