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

npmd sync failing #60

Open
seflless opened this issue Apr 4, 2014 · 4 comments
Open

npmd sync failing #60

seflless opened this issue Apr 4, 2014 · 4 comments

Comments

@seflless
Copy link

seflless commented Apr 4, 2014

I'm getting the following error right after install npmd globally and then running npmd sync.

  npmd sync

  /usr/local/lib/node_modules/npmd/plugins/rebuild.js:8
      if(config._[0] !== 'rebuild') return
                 ^
  TypeError: Cannot read property '0' of undefined
      at /usr/local/lib/node_modules/npmd/plugins/rebuild.js:8:16
      at /usr/local/lib/node_modules/npmd/options.js:11:27
      at execCommands (/usr/local/lib/node_modules/npmd/index.js:101:31)
      at Object.<anonymous> (/usr/local/lib/node_modules/npmd/index.js:151:5)
      at Module._compile (module.js:456:26)
      at Object.Module._extensions..js (module.js:474:10)
      at Module.load (module.js:356:32)
      at Function.Module._load (module.js:312:12)
      at Function.Module.runMain (module.js:497:10)
      at startup (node.js:119:16)

Is master broken? I just cloned a few minutes ago.

@dominictarr
Copy link
Owner

After the v1 rewrite sync isn't used any more.
It will be added back in soon (in a different way)
what I need here is a better error message.

@seflless
Copy link
Author

seflless commented Apr 4, 2014

Ah, k. So I should just roll back for now? Any recommended commit to go back to?

Also: Maybe update this to not mention using 'npmd sync' for now?

@dominictarr
Copy link
Owner

Either install npmd@1 or npmd@0 I merged the v1 branch into master - it has documentation on how it works now.

@dominictarr
Copy link
Owner

okay the error message is fixed in 1.0.5

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

2 participants