SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Feb 2013
    Location
    Hastings, Victoria
    Posts
    5
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Chapter 2, page 23 - make is not in the npm registry

    Hello all,

    I am currently getting the following errors

    Code:
    tkauran@ubuntu:~/authentication/test$ sudo npm install make test
    npm WARN package.json authentication@0.0.1 No README.md file found!
    npm http GET https://registry.npmjs.org/make
    npm http GET https://registry.npmjs.org/test
    npm http 304 https://registry.npmjs.org/test
    npm http 404 https://registry.npmjs.org/make
    npm ERR! 404 'make' is not in the npm registry.
    npm ERR! 404 You should bug the author to publish it
    npm ERR! 404 
    npm ERR! 404 Note that you can also install from a
    npm ERR! 404 tarball, folder, or http url, or git url.
    
    npm ERR! System Linux 3.5.0-26-generic
    npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "make" "test"
    npm ERR! cwd /home/tkauran/authentication/test
    npm ERR! node -v v0.10.3
    npm ERR! npm -v 1.2.17
    npm ERR! code E404
    npm ERR! 
    npm ERR! Additional logging details can be found in:
    npm ERR!     /home/tkauran/authentication/test/npm-debug.log
    npm ERR! not ok code 0

    I have read the errors, and as obvious as the errors are, I cannot really come up with a solution.
    I tried jake instead of make (and a few others) as the npm registry had those others options, but
    nothing seemed to work.

    Would anyone be able to provide me with a solution if possible? Would be greatly appreciated
    and I hope this thread can help others who run into the same issue down the track, as I
    noticed none of the other threads mentioned this particular issue with any solutions.

    Regards,
    tkauran

  2. #2
    SitePoint Author
    Join Date
    Nov 2012
    Posts
    48
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Sorry for the tardy response. make is not part of Node.js. You are using Linux and it should be there as part of a default installation. If you just type 'make' into a terminal it should work

  3. #3
    SitePoint Member
    Join Date
    Feb 2013
    Location
    Hastings, Victoria
    Posts
    5
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Don Nguyen View Post
    Sorry for the tardy response. make is not part of Node.js. You are using Linux and it should be there as part of a default installation. If you just type 'make' into a terminal it should work
    Thanks for the reply Don,

    I forgot all about this thread I made, since the post I have solved the problem, I already had make installed, I forget exactly what the fix was, but it was somewhat stupid on my part I think.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •