Navigation

    Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com

    error with npm publish

    Windy Plugins
    3
    8
    687
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • rittels
      rittels Code contributor | Premium last edited by

      Hi

      Windy-plugins is great, works well with windy.com/dev
      Trying to publish, but keep getting this error:

      npm ERR! path C:\Users\rittels\AppData\Local\Temp\npm-10784-fa2a6053\tmp\fromDir-b99d663f\package.tgz
      npm ERR! code EPERM
      npm ERR! errno -4048
      npm ERR! syscall unlink

      Tried: Run as admin, cleared cache, deleted package-lock.json.

      Can you help?

      thx

      1 Reply Last reply Reply Quote 0
      • marekd
        marekd Administrator last edited by

        Hi @rittels ,

        it is great to see that someone wants to publish windy plugin.
        unfortunately this is rather the NPM problem. Try google or stackoverflow.

        1 Reply Last reply Reply Quote 0
        • ivo
          ivo Administrator last edited by

          npm has terrible error messages. Are you logged in to npm repository? Have tried to publish any other package before?

          1 Reply Last reply Reply Quote 0
          • rittels
            rittels Code contributor | Premium last edited by

            Great Success!!

            yes I'm new with npm.

            I had to login to npm (npm adduser and npm login).

            then: npm publish --access public //(this is new)

            windy-plugin-airspaces

            ivo 1 Reply Last reply Reply Quote 1
            • ivo
              ivo Administrator @rittels last edited by

              @rittels WOW that is great

              So I will start do develop stuff that:

              1. Plugins remain persistent once a user loads them
              2. Gallery of succ plugins
              3. Some auto update of plugins mechanism
              4. Also some usage static would be nice

              We woud like to send you t-shirt and hat. What is your size and some adress.

              rittels 1 Reply Last reply Reply Quote 0
              • rittels
                rittels Code contributor @ivo | Premium last edited by

                @ivo

                Thanks ivo!!
                I really enjoy fiddling with Plugins. I am eager to see what you develop further.

                It would be great to load and mount the plugin from the url query str:

                Like: "windy.com/plugin?windy-plugin-airspaces" or something like that.

                1 Reply Last reply Reply Quote 0
                • ivo
                  ivo Administrator last edited by

                  Yes we will support opening from URL also

                  What I suggest now, that I will check your source code and extend our plugin API so you will not need to hook directlly DOM elements. For instance I can extend picker API so you can insert HTML code inside, also if you wish to have opening icon on the screen etc...

                  1 Reply Last reply Reply Quote 0
                  • ivo
                    ivo Administrator last edited by

                    As I said before plugin API is just prototype and now we are eager to extend it

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
                    NodeBB & contributors, OSM & contributors, HERE maps
                    Terms and Conditions     Privacy Policy