json - I am trying to add a dist-tag to my pkg but I keep get 404 error -


i'm trying add dist-tag pkg, aka package.json. doing wrong?

i running

$ npm dist-tag add pkg@1.0.2 beta  17 verbose stack error: missing : -/package/pkg/dist-tags 17 verbose stack     @ makeerror (/home/ubuntu/.nvm/versions/node/v6.11.2/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:302:12) 17 verbose stack     @ cachingregistryclient.<anonymous> (/home/ubuntu/.nvm/versions/node/v6.11.2/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:290:14) 17 verbose stack     @ request._callback (/home/ubuntu/.nvm/versions/node/v6.11.2/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:210:14) 17 verbose stack     @ request.self.callback (/home/ubuntu/.nvm/versions/node/v6.11.2/lib/node_modules/npm/node_modules/request/request.js:187:22) 17 verbose stack     @ emittwo (events.js:106:13) 17 verbose stack     @ request.emit (events.js:191:7) 17 verbose stack     @ request.<anonymous> (/home/ubuntu/.nvm/versions/node/v6.11.2/lib/node_modules/npm/node_modules/request/request.js:1048:10) 17 verbose stack     @ emitone (events.js:96:13) 17 verbose stack     @ request.emit (events.js:188:7) 17 verbose stack     @ incomingmessage.<anonymous> (/home/ubuntu/.nvm/versions/node/v6.11.2/lib/node_modules/npm/node_modules/request/request.js:969:12) 18 verbose statuscode 404 19 verbose cwd /home/ubuntu/workspace/devenv 20 error linux 4.9.17-c9 21 error argv "/home/ubuntu/.nvm/versions/node/v6.11.2/bin/node" "/home/ubuntu/.nvm/versions/node/v6.11.2/bin/npm" "dist-tag" "add" "pkg@1.0.2" "beta" 22 error node v6.11.2 23 error npm  v3.10.10 24 error code e404 25 error 404 missing : -/package/pkg/dist-tags 26 verbose exit [ 1, true ] 

this knowning error: missing : -/package/pkg/dist-tags need go registry site/package/module_failed/dist-tags mean need version referrer dist-tags. try url :

http://registry.npmjs.org/-/package/pkg/dist-tags 

you need show wich version have install "dist-tags" if try show page : json page version needed.

need last nodejs , update of npm https://nodejs.org/en/download/package-manager/

//installation debian/ubuntu.. curl -sl https://deb.nodesource.com/setup_8.x | sudo -e bash - sudo -i                    //login root apt-get install -y nodejs             //installation root exit       //disconnect root  npm install pkg@4.2.4 

Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -