Problem

NPM error while publishing

Details

npm ERR! code E404
npm ERR! 404 Not Found - PUT https://registry.npmjs.org/tinydelay - Not found
npm ERR! 404 
npm ERR! 404  '[email protected]' is not in this registry.
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/user/.npm/_logs/2022-10-30T09_28_28_871Z-debug-0.log

Solution

Package name is reserved by other user or organization. NPM is so dumb that won’t show the right error message like “This package name is used by other user”. Instead it just throw an 404 error which is useless. Use different package name to fix this problem.

rsync macos linux
Follow me on Twitter! It's free!