Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot verify 10 Publish Again: throws an error #61

Open
outtech1 opened this issue Feb 19, 2016 · 18 comments
Open

Cannot verify 10 Publish Again: throws an error #61

outtech1 opened this issue Feb 19, 2016 · 18 comments

Comments

@outtech1
Copy link

$ how-to-npm verify
module.js:341
throw err;
^

Error: Cannot find module '/Users/tomasvolta/.config/how-to-npm/registry/@tomasvolta/npm/body.json'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.exports.verify (/usr/local/lib/node_modules/how-to-npm/problems/10-publish-again.js:33:14)
at Shop.verify (/usr/local/lib/node_modules/how-to-npm/node_modules/adventure/index.js:157:15)
at Shop.execute (/usr/local/lib/node_modules/how-to-npm/node_modules/adventure/index.js:76:14)
at Shop.shop.execute (/usr/local/lib/node_modules/how-to-npm/index.js:37:45)
at Object. (/usr/local/lib/node_modules/how-to-npm/index.js:86:8)
at Module._compile (module.js:413:34)
Bons-MacBook-Pro:npm tomasvolta$ how-to-npm verify
module.js:341
throw err;
^

Error: Cannot find module '/Users/tomasvolta/.config/how-to-npm/registry/@tomasvolta/npm/body.json'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at Object.exports.verify (/usr/local/lib/node_modules/how-to-npm/problems/10-publish-again.js:33:14)
at Shop.verify (/usr/local/lib/node_modules/how-to-npm/node_modules/adventure/index.js:157:15)
at Shop.execute (/usr/local/lib/node_modules/how-to-npm/node_modules/adventure/index.js:76:14)
at Shop.shop.execute (/usr/local/lib/node_modules/how-to-npm/index.js:37:45)
at Object. (/usr/local/lib/node_modules/how-to-npm/index.js:86:8)
at Module._compile (module.js:413:34)

@mmatthews1981
Copy link

I got something similar.

$ how-to-npm verify
module.js:338
throw err;
^

Error: Cannot find module '/home/ubuntu/.config/how-to-npm/registry/@meredithmatthews/tut/body.json'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:286:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.exports.verify (/home/ubuntu/.nvm/versions/node/v4.1.1/lib/node_modules/how-to-npm/problems/10-publish-again.js:33:14)
at Shop.verify (/home/ubuntu/.nvm/versions/node/v4.1.1/lib/node_modules/how-to-npm/node_modules/adventure/index.js:157:15)
at Shop.execute (/home/ubuntu/.nvm/versions/node/v4.1.1/lib/node_modules/how-to-npm/node_modules/adventure/index.js:76:14)
at Shop.shop.execute (/home/ubuntu/.nvm/versions/node/v4.1.1/lib/node_modules/how-to-npm/index.js:37:45)
at Object. (/home/ubuntu/.nvm/versions/node/v4.1.1/lib/node_modules/how-to-npm/index.js:86:8)
at Module._compile (module.js:434:26)

@oky1
Copy link

oky1 commented Mar 14, 2016

module.js:327
throw err;
^

Error: Cannot find module '/home/ubuntu/.config/how-to-npm/registry/oky1/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.3.2/lib/node_modules/how-to-npm/problems/10-publish-again.js:33:14)
at Shop.verify (/home/ubuntu/.nvm/versions/node/v4.3.2/lib/node_modules/how-to-npm/node_modules/adventure/index.js:157:15)
at Shop.execute (/home/ubuntu/.nvm/versions/node/v4.3.2/lib/node_modules/how-to-npm/node_modules/adventure/index.js:76:14)
at Shop.shop.execute (/home/ubuntu/.nvm/versions/node/v4.3.2/lib/node_modules/how-to-npm/index.js:37:45)
at Object. (/home/ubuntu/.nvm/versions/node/v4.3.2/lib/node_modules/how-to-npm/index.js:86:8)
at Module._compile (module.js:409:26)

@Sposito
Copy link

Sposito commented May 5, 2016

Mine is not working at all. any updates on that?


module.js:327
    throw err;
    ^

Error: Cannot find module '/home/ubuntu/.config/how-to-npm/registry/@sposito/tut/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.3/lib/node_modules/how-to-npm/problems/10-publish-again.js:33:14)
    at Shop.verify (/home/ubuntu/.nvm/versions/node/v4.4.3/lib/node_modules/how-to-npm/node_modules/adventure/index.js:157:15)
    at Shop.execute (/home/ubuntu/.nvm/versions/node/v4.4.3/lib/node_modules/how-to-npm/node_modules/adventure/index.js:76:14)
    at Shop.shop.execute (/home/ubuntu/.nvm/versions/node/v4.4.3/lib/node_modules/how-to-npm/index.js:37:45)
    at Object.<anonymous> (/home/ubuntu/.nvm/versions/node/v4.4.3/lib/node_modules/how-to-npm/index.js:86:8)
    at Module._compile (module.js:409:26)

@AJBoyle31
Copy link

I'm have the same exact error. Now it won't let me verify any of the next challenges. Has there been a fix?

@cupofjoey
Copy link

cupofjoey commented May 23, 2016

I tried to re-publish with the new version and got all of this.

    throw err;
    ^

Error: Cannot find module '/home/ubuntu/.config/how-to-npm/registry/joehill/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.3/lib/node_modules/how-to-npm/problems/10-publish-again.js:33:14)
    at Shop.verify (/home/ubuntu/.nvm/versions/node/v4.4.3/lib/node_modules/how-to-npm/node_modules/adventure/index.js:157:15)
    at Shop.execute (/home/ubuntu/.nvm/versions/node/v4.4.3/lib/node_modules/how-to-npm/node_modules/adventure/index.js:76:14)
    at Shop.shop.execute (/home/ubuntu/.nvm/versions/node/v4.4.3/lib/node_modules/how-to-npm/index.js:37:45)
    at Object.<anonymous> (/home/ubuntu/.nvm/versions/node/v4.4.3/lib/node_modules/how-to-npm/index.js:86:8)
    at Module._compile (module.js:409:26) ```

Removed my dir, and started again. Hopefully will resolve.


@RBuddha
Copy link

RBuddha commented May 31, 2016

cannot re-publish either:
module.js:327
throw err;
^
...

@ghost
Copy link

ghost commented Jun 28, 2016

Me too
$ how-to-npm verify skip
module.js:327
throw err;
^

Error: Cannot find module '/home/ubuntu/.config/how-to-npm/registry/sample/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/10-publish-again.js:33: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)

@ghost
Copy link

ghost commented Jun 28, 2016

i think updating the npm to latest version could be causing the issue, can any one try with old version?

@pahosler
Copy link

same /fcc/npm$ how-to-npm verify
module.js:341
throw err;
^

@ltthanh
Copy link

ltthanh commented Aug 19, 2016

I have same problem with npm v2.15.9 and npm v3.10.6.

module.js:327
    throw err;
    ^

@CBedzz
Copy link

CBedzz commented Sep 4, 2016

NPM 3.10.6 Same error today:

rror: Cannot find module '/Users/cbedo/.config/how-to-npm/registry/how-to-npm/body.json'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.exports.verify (/usr/local/lib/node_modules/how-to-npm/problems/10-publish-again.js:33:14)
at Shop.verify (/usr/local/lib/node_modules/how-to-npm/node_modules/adventure/index.js:157:15)
at Shop.execute (/usr/local/lib/node_modules/how-to-npm/node_modules/adventure/index.js:76:14)
at Shop.shop.execute (/usr/local/lib/node_modules/how-to-npm/index.js:37:45)
at Object. (/usr/local/lib/node_modules/how-to-npm/index.js:86:8)
at Module._compile (module.js:556:32)

@kurumkan
Copy link

The error
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.5.0/lib/node_modules/how-to-npm/problems/10-publish-again.js:33:14)
at Shop.verify (/home/ubuntu/.nvm/versions/node/v4.5.0/lib/node_modules/how-to-npm/node_modules/adventure/index.js:157:15)
at Shop.execute (/home/ubuntu/.nvm/versions/node/v4.5.0/lib/node_modules/how-to-npm/node_modules/adventure/index.js:76:14)
at Shop.shop.execute (/home/ubuntu/.nvm/versions/node/v4.5.0/lib/node_modules/how-to-npm/index.js:37:45)
at Object. (/home/ubuntu/.nvm/versions/node/v4.5.0/lib/node_modules/how-to-npm/index.js:86:8)
at Module._compile (module.js:409:26)

I also can't run how-to-npm verify skip

@with0out
Copy link

with0out commented Nov 1, 2016

same problem here.

module.js:471
    throw err;
    ^

Error: Cannot find module '/home/vagrant/.config/how-to-npm/registry/@with0out/how-to-npm/body.json'
    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.exports.verify (/home/vagrant/.nvm/versions/node/v6.8.1/lib/node_modules/how-to-npm/problems/11-dist-tag.js:42:14)
    at Shop.verify (/home/vagrant/.nvm/versions/node/v6.8.1/lib/node_modules/how-to-npm/node_modules/adventure/index.js:157:15)
    at Shop.execute (/home/vagrant/.nvm/versions/node/v6.8.1/lib/node_modules/how-to-npm/node_modules/adventure/index.js:76:14)
    at Shop.shop.execute (/home/vagrant/.nvm/versions/node/v6.8.1/lib/node_modules/how-to-npm/index.js:37:45)
    at Object.<anonymous> (/home/vagrant/.nvm/versions/node/v6.8.1/lib/node_modules/how-to-npm/index.js:86:8)
    at Module._compile (module.js:570:32)

@imcodingideas
Copy link

imcodingideas commented Nov 27, 2016

I get the same problem with cloud9

module.js:327
throw err;
^

Error: Cannot find module '/home/ubuntu/.config/how-to-npm/registry/npmde/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.6.1/lib/node_modules/how-to-npm/problems/11-dist-tag.js:42:14)
at Shop.verify (/home/ubuntu/.nvm/versions/node/v4.6.1/lib/node_modules/how-to-npm/node_modules/adventure/index.js:157:15)
at Shop.execute (/home/ubuntu/.nvm/versions/node/v4.6.1/lib/node_modules/how-to-npm/node_modules/adventure/index.js:76:14)
at Shop.shop.execute (/home/ubuntu/.nvm/versions/node/v4.6.1/lib/node_modules/how-to-npm/index.js:37:45)
at Object. (/home/ubuntu/.nvm/versions/node/v4.6.1/lib/node_modules/how-to-npm/index.js:86:8)
at Module._compile (module.js:409:26)

@zouhairkhallaf
Copy link

Same problem too :/

@pavazmo
Copy link

pavazmo commented Sep 5, 2017

Same issue :'(


node publish     
module.js:327
    throw err;
    ^

Error: Cannot find module '/home/pat/prueba/promonitor/publish'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)
    at node.js:990:3

@bradicalone
Copy link

module.js:471
throw err;

I take it the node.js course doesn't work anymore?

@rom-dos
Copy link

rom-dos commented Mar 7, 2018

Same issue in npm 5.7.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests