componentjs / component

frontend package manager and build tool for modular web applications
https://github.com/componentjs/guide
MIT License
4.55k stars 306 forks source link

Error: EEXIST, mkdir <path>/<user>/<repo>/<version> #571

Closed Pickachu closed 10 years ago

Pickachu commented 10 years ago

Trying to use chai as a dependency for my package i get an error:

component.json

{
  ⋮
  "dependencies": {
    "chaijs/chai": "1.9.1"
  }
  ⋮
}

on shell

$ npm install component@1.0.0rc5 -g
⋮
$ component install
   installed : chaijs/assertion-error@1.0.0 in 632ms

events.js:68
        throw arguments[1]; // Unhandled 'error' event
                       ^
Error: EEXIST, mkdir '/private/tmp/components/chaijs/chai/1.7.1'

With component 0.19.9, it installs correctly. I wonder if the problem is with the component.json from the chai repo, or with the component command.

Any thoughts?

Pickachu commented 10 years ago

The problem was an outdated version of nodejs.

Updated node to v0.10.26, and now everything works.

timaschew commented 10 years ago

what was your node version before?