I installed this package via sudo npm link
(without publishing it to the registry):
% cd ~/tmp/hello/
% sudo npm link
Result:
% npm ls -g
/usr/local/lib
├── @rauschma/[email protected] -> ./../../../Users/rauschma/tmp/hello
├── [email protected]
├── [email protected]
└── [email protected]
I’m unable to use npx @rauschma/hello
:
% cd $HOME
% hello
Hello!
% npx hello
Hello!
% npx @rauschma/hello
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@rauschma%2fhello - Not found
npm ERR! 404
npm ERR! 404 '@rauschma/hello@*' 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.
% npx --package @rauschma/hello hello
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@rauschma%2fhello - Not found
npm ERR! 404
npm ERR! 404 '@rauschma/hello@*' 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.