Publish a library

That worked.
Thanks,
Doug

I’m trying to update my IoTlib. I was able to update the code and version number and upload it, but when I try to publish it I receive the “This library could not be published. Try another library or try this one again later.” message. I’m on a Mac. I tried the ‘cd …’ ‘particle library publish ./IoTlib’ and then I get the response “[Error]”.
Is there some other way to publish the update?

Sorry about the confusion with the library publish command. It required the name of the library to publish. In the latest CLI version released today particle library publish will default to the library in the current directory.

You can update the CLI with npm install -g particle-cli.

Wow, that was quick. Thank you!

1 Like