how-to-npm icon indicating copy to clipboard operation
how-to-npm copied to clipboard

Publish verify passes without actually publishing

Open arithmetric opened this issue 9 years ago • 0 comments

It seems that the publish task verification passes even though the package wasn't published to the local registry.

See:

$ how-to-npm verify
npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "--color=always" "view" "how-to-npm-test"
npm ERR! node v0.10.24
npm ERR! npm  v2.5.0
npm ERR! code E404

npm ERR! 404 missing : how-to-npm-test
npm ERR! 404
npm ERR! 404 'how-to-npm-test' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
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! Please include the following file with any support request:
npm ERR!     /Users/Turgeon/temp/how-to-npm/npm-debug.log
Uh oh!
It looks like you didn't successfully publish the how-to-npm-test
package.  Try again!

In order to view your package content, I just ran this command:

  npm view how-to-npm-test

Run that command yourself to see what it prints out.


The `npm view` command is a great way to view package details,
to see what you just published, and to check if a name is already taken.

Now that you've published your first package here in make-believe npm
workshop land, go out and write a real thing to share with real humans!

You don't have to just share code for other people, though.  There are
also benefits to breaking up your code into small manageable pieces, even
if you are only using them all yourself.

You can imagine that your future self and your past self are the two
other developers on your team.  (Scheduling meetings is pretty tricky.)

Run `how-to-npm` to go on to the next adventure!

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@     YOUR SOLUTION IS CORRECT!     @@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@


$

Running npm view does not return any results at this point.

arithmetric avatar Feb 11 '15 20:02 arithmetric