Giter Site home page Giter Site logo

Stucking at level 10. about how-to-npm HOT 5 CLOSED

workshopper avatar workshopper commented on August 22, 2024
Stucking at level 10.

from how-to-npm.

Comments (5)

kaiserhase avatar kaiserhase commented on August 22, 2024

I ran into the same issue. I believe it's because you aren't "logged in". I am currently using 'npm login' to see if it gets me past this error. I'll respond or edit if I get a result.

Edit: Didn't get it really to work, but I skipped ahead and gave up on worrying about the "completed" showing up. Only needed to run through for freecodecamp.com anyway.

from how-to-npm.

jackzzjack avatar jackzzjack commented on August 22, 2024

I'll try it later. Thanks for your advise.

from how-to-npm.

ashleygwilliams avatar ashleygwilliams commented on August 22, 2024

hi @jackzzjack ! hopefully @kaiserhase solved your issue. i am closing this now, please reopen if you are still having trouble.

from how-to-npm.

 avatar commented on August 22, 2024

I'm having this problem as well. Used npm init 1.0.1 to update my version and then went to publish again. It gave this:

npm ERR! Linux 4.2.0-c9
npm ERR! argv "/home/ubuntu/.nvm/versions/node/v4.4.0/bin/node" "/home/ubuntu/.nvm/versions/node/v4.4.0/bin/npm" "publish"
npm ERR! node v4.4.0
npm ERR! npm v3.8.7
npm ERR! code ENEEDAUTH

npm ERR! need auth auth required for publishing
npm ERR! need auth You need to authorize this machine using npm adduser

npm ERR! Please include the following file with any support request:
npm ERR! /home/ubuntu/workspace/npm/npm-debug.log

Which is what it gave me through the first publish lesson. However, where it passed me in the first publish exercise, this one says:

module.js:327
throw err;
^

Error: Cannot find module '/home/ubuntu/.config/how-to-npm/registry/@codergeist/npm/body.json'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.exports.verify (/home/ubuntu/.nvm/versions/node/v4.4.0/lib/node_modules/how-to-npm/problems/10-publish-again.js:33:14)
at Shop.verify (/home/ubuntu/.nvm/versions/node/v4.4.0/lib/node_modules/how-to-npm/node_modules/adventure/index.js:157:15)
at Shop.execute (/home/ubuntu/.nvm/versions/node/v4.4.0/lib/node_modules/how-to-npm/node_modules/adventure/index.js:76:14)
at Shop.shop.execute (/home/ubuntu/.nvm/versions/node/v4.4.0/lib/node_modules/how-to-npm/index.js:37:45)
at Object. (/home/ubuntu/.nvm/versions/node/v4.4.0/lib/node_modules/how-to-npm/index.js:86:8)
at Module._compile (module.js:409:26)

Not sure how to fix this.

from how-to-npm.

madfolio avatar madfolio commented on August 22, 2024

also having the same error. cannot use the login solution. when i try to do this the terminal hangs.

any ideas?


module.js:327
throw err;
^

Error: Cannot find module '/home/ubuntu/.config/how-to-npm/registry/test/body.json'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.exports.verify (/home/ubuntu/.nvm/versions/node/v4.4.5/lib/node_modules/how-to-npm/problems/11-dist-tag.js:42:14)
at Shop.verify (/home/ubuntu/.nvm/versions/node/v4.4.5/lib/node_modules/how-to-npm/node_modules/adventure/index.js:157:15)
at Shop.execute (/home/ubuntu/.nvm/versions/node/v4.4.5/lib/node_modules/how-to-npm/node_modules/adventure/index.js:76:14)
at Shop.shop.execute (/home/ubuntu/.nvm/versions/node/v4.4.5/lib/node_modules/how-to-npm/index.js:37:45)
at Object. (/home/ubuntu/.nvm/versions/node/v4.4.5/lib/node_modules/how-to-npm/index.js:86:8)
at Module._compile (module.js:409:26)

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.