Comments (5)
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.
I'll try it later. Thanks for your advise.
from how-to-npm.
hi @jackzzjack ! hopefully @kaiserhase solved your issue. i am closing this now, please reopen if you are still having trouble.
from how-to-npm.
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.
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)
- Update the label names HOT 1
- Pull request #108 rolls back fix #57 HOT 5
- Incorrectly reports wrong folder on windows due to case sensitivity HOT 1
- Version checking issue with "00 Install npm" exercise HOT 3
- how-to-npm HOT 2
- Very basic NPM newbie question HOT 2
- Cannot publish HOT 2
- npm publish needs a paid account HOT 3
- Renew the problems to support npm@5
- Error, when trying to reset registry HOT 3
- when I type how-to-npm in terminal It gives me the following error HOT 2
- Challenge 00: doesn't tell you how to check version HOT 1
- npm-init fails in Dev Enviroment
- No outdated packages ... HOT 1
- "npm install <package-name>" better than "npm install <module-name>"
- should keep bundleDependencies in package.json? HOT 1
- no such file or directory, chmod '/usr/local/lib/node_modules/how-to-npm/node_modules/mkdirp/bin/cmd.js' HOT 7
- Error: Cannot find module 'workshopper-adventure/adventure' HOT 2
- npm adduser -> Error: code ENYI Web login not supported
- Is this repository still being maintained in 2023? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from how-to-npm.