node.js - Getting 404 when attempting to publish new package to NPM -
i created new package: https://github.com/supericium/pli
i'm trying publish npm first time this:
ole@mki:~/sandbox/pli$ npm publish --access public npm err! publish failed put 404 npm err! linux 3.13.0-93-generic npm err! argv "/home/ole/.nvm/versions/v6.4.0/bin/node" "/home/ole/.nvm/versions/v6.4.0/bin/npm" "publish" "--access" "public" npm err! node v6.4.0 npm err! npm v3.10.3 npm err! code e404 npm err! 404 not found : @supericium/pli npm err! 404 npm err! 404 '@supericium/pli' not in npm registry. npm err! 404 should bug author publish (or use name yourself!) npm err! 404 npm err! 404 note can install npm err! 404 tarball, folder, http url, or git url. npm err! please include following file support request: npm err! /home/ole/sandbox/pli/npm-debug.log
i tried updating both nodejs , npm make sure have latest version, are:
ole@mki:~/sandbox/pli$ node --version v6.4.0 ole@mki:~/sandbox/pli$ npm --version 3.10.3
thoughts?
tia, ole
you need have registered "supericium" (npm adduser
) username @ registry , logged in publish under scope.
Comments
Post a Comment