Npm publish : error 404

Hello,

I slightly updated my plugin, and bumped the version number (using 'npm run updateVersion').

When I try to publish the new version to npmjs.com, I get a E404 error :

npm error code E404
npm error 404 Not Found - PUT ``https://registry.npmjs.org/joplin-plugin-char-word-and-line-count`` - Not found
npm error 404
npm error 404 The requested resource 'joplin-plugin-char-word-and-line-count@1.0.4' could not be found or you do not have permission to access it.

Here is the full log :

2026-08-17T13_39_50_912Z-debug-0.log (3.4 KB)

Thanks for your help

Just for the record, the solution is to first login to the npm registry in the terminal : 'npm login'