volojs / volo

Create front end projects from templates, add dependencies, and automate the resulting projects
https://volojs.github.io/
Other
1.41k stars 99 forks source link

Volo add error: Cannot call method replace of undefined #104

Closed guybedford closed 12 years ago

guybedford commented 12 years ago

I'm running a repository where I'm only tracking my package.json and non-volo folders.

When I check out the repository, I run npm install, and volo add to populate the required libraries.

The package.json looks like this:

  "amd": {
    "baseUrl": "www/lib"
  },
  "volo": {
    "dependencies": {
      "require": "github:jrburke/requirejs/2.1.0",
      "cs": "github:jrburke/require-cs/0.4.2",
      "text": "github:requirejs/text/2.0.1",
      "selector": "github:guybedford/selector/master"
    }
  }

When I type volo add or volo add -f, it displays:

Downloading: https://raw.github.com/jrburke/requirejs/2.1.0/require.js
ERROR: TypeError: Cannot call method 'replace' of undefined

I'm a big fan of volo - it feels like it's so close to having package management 'just work'. Would really appreciate any suggestions here.

jrburke commented 12 years ago

What version of volo are you running? As I recall, the latest 0.2.4, had a fix for an error that was sounded similar to this.

guybedford commented 12 years ago

Yes this worked - thanks a lot. Apologies for missing that!