Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. npm publish: Fehler E415: No package.json found in tarball

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    npm publish: Fehler E415: No package.json found in tarball

    This topic has been deleted. Only users with topic management privileges can see it.
    • Zarello
      Zarello last edited by Zarello

      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 🙂

      1 Reply Last reply Reply Quote 0
      • First post
        Last post

      Support us

      ioBroker
      Community Adapters
      Donate

      808
      Online

      31.7k
      Users

      79.8k
      Topics

      1.3m
      Posts

      npm publish
      1
      1
      130
      Loading More Posts
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      Community
      Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
      The ioBroker Community 2014-2023
      logo