NEWS
npm publish: Fehler E415: No package.json found in tarball
-
Hi,
ich versuche gerade aus meinem Adapter auf GitHub ioBroker.epson-esc-vp21 ein npm Paket zu machen.
Leider sagt mir npm publish, dass ich wohl keine package.json hätte, obwohl er sie direkt davor im Inhalt des Tarball aufführt:~/git/ioBroker.epson-esc-vp21$ npm publish npm notice npm notice 📦 iobroker.epson-esc-vp21@0.1.0 npm notice === Tarball Contents === npm notice 1.8kB /admin/custom_m.html npm notice 85.9kB /admin/epson-esc-vp21.png npm notice 4.1kB /admin/index_m.html npm notice 717B /admin/style.css npm notice 1.8kB /admin/words.js npm notice 17.7kB /io-package.json npm notice 589B /lib/adapter-config.d.ts npm notice 3.4kB /lib/tools.js npm notice 1.1kB /LICENSE npm notice 29.8kB /main.js npm notice 2.1kB /package.json npm notice 5.7kB /README.md npm notice === Tarball Details === npm notice name: iobroker.epson-esc-vp21 npm notice version: 0.1.0 npm notice filename: iobroker.epson-esc-vp21-0.1.0.tgz npm notice package size: 104.3 kB npm notice unpacked size: 154.7 kB npm notice shasum: 602e1c6cef356072f32acc95a3c761caa8b4925f npm notice integrity: sha512-cQU5cklWXzKvR[...]tm9J3WWTJT2Pw== npm notice total files: 12 npm notice npm ERR! code E415 npm ERR! 415 Unsupported Media Type - PUT https://registry.npmjs.org/iobroker.epson-esc-vp21 - No package.json found in tarball npm ERR! A complete log of this run can be found in: npm ERR! ~/.npm/_logs/2022-04-12T15_28_14_726Z-debug.log
Vermutlich habe ich irgendwo eine Kleinigkeit übersehen, komme an der Stelle aber leider nicht weiter, da auch Google mir zu dem Problem keinen Treffer findet.
Es ist mein erster Adapter und das Erste, was ich auf meinem Account bei npmjs.com veröffentlichen möchte.
Der Stand meines lokalen Verzeichnisses entspricht dem aktuellen Zustand auf GitHub.Ich hoffe hier kann mir irgend jemand auf die Sprünge helfen