Giter Site home page Giter Site logo

failed npm dist-tag about how-to-npm HOT 4 CLOSED

workshopper avatar workshopper commented on August 22, 2024
failed npm dist-tag

from how-to-npm.

Comments (4)

derekharmon avatar derekharmon commented on August 22, 2024 2

For npm dist-tag add you must use a fully-qualified name (that includes your id and version) like this npm dist-tag add @fudruckus/[email protected] beta where beta is the new dist-tag.

For npm dist-tag rm the version is not required, since the dist-tag must be unique across all versions. So npm dist-tag rm @fudruckus/howtonode beta removes it.

Note also on Windows, the direction of the / matters.

from how-to-npm.

lelo81 avatar lelo81 commented on August 22, 2024

I also need help!

C:\WebDev>npm dist-tag add [email protected] mytag
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files (x86)\nodejs\node.exe" "C:\Users\llopes\Ap
pData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "dist-tag" "add" "howto
[email protected]" "mytag"
npm ERR! node v4.2.3
npm ERR! npm v3.5.2
npm ERR! code E404

npm ERR! 404 missing : -/package/howtonpm/dist-tags

npm ERR! Please include the following file with any support request:
npm ERR! C:\WebDev\npm-debug.log

from how-to-npm.

jacobwhitten avatar jacobwhitten commented on August 22, 2024

Yeah, can't seem to get past this either. Using this as my command: npm dist-tag add @jacobwhitten\[email protected] testtag

from how-to-npm.

celogeek avatar celogeek commented on August 22, 2024

same error, here the full debug :

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/5.9.1/bin/node',
1 verbose cli   '/usr/local/bin/npm',
1 verbose cli   'dist-tag',
1 verbose cli   'add',
1 verbose cli   '[email protected]',
1 verbose cli   'test' ]
2 info using [email protected]
3 info using [email protected]
4 verbose dist-tag add test to [email protected]
5 silly mapToRegistry name dev
6 silly mapToRegistry using default registry
7 silly mapToRegistry registry http://localhost:15443/
8 silly mapToRegistry data Result {
8 silly mapToRegistry   raw: 'dev',
8 silly mapToRegistry   scope: null,
8 silly mapToRegistry   name: 'dev',
8 silly mapToRegistry   rawSpec: '',
8 silly mapToRegistry   spec: 'latest',
8 silly mapToRegistry   type: 'tag' }
9 silly mapToRegistry uri http://localhost:15443/dev
10 verbose request uri http://localhost:15443/-/package/dev/dist-tags
11 verbose request no auth needed
12 info attempt registry request try #1 at 12:11:11
13 verbose request id 5a671af4eebab536
14 http request GET http://localhost:15443/-/package/dev/dist-tags
15 http 404 http://localhost:15443/-/package/dev/dist-tags
16 verbose headers { 'content-type': 'application/json',
16 verbose headers   date: 'Sun, 27 Mar 2016 10:11:11 GMT',
16 verbose headers   connection: 'keep-alive',
16 verbose headers   'content-length': '19' }
17 verbose stack Error: missing : -/package/dev/dist-tags
17 verbose stack     at makeError (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:264:12)
17 verbose stack     at CachingRegistryClient.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:252:14)
17 verbose stack     at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:172:14)
17 verbose stack     at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:199:22)
17 verbose stack     at emitTwo (events.js:100:13)
17 verbose stack     at Request.emit (events.js:185:7)
17 verbose stack     at Request.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1036:10)
17 verbose stack     at emitOne (events.js:95:20)
17 verbose stack     at Request.emit (events.js:182:7)
17 verbose stack     at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/request/request.js:963:12)
18 verbose statusCode 404
19 verbose cwd /Users/celogeek/Documents/Devel/NodeJS/NodeSchool/HowToNPM/dev
20 error Darwin 15.4.0
21 error argv "/usr/local/Cellar/node/5.9.1/bin/node" "/usr/local/bin/npm" "dist-tag" "add" "[email protected]" "test"
22 error node v5.9.1
23 error npm  v3.8.3
24 error code E404
25 error 404 missing : -/package/dev/dist-tags
26 verbose exit [ 1, true ]

from how-to-npm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.