chrisgladd / grunt-phantomcss

A grunt task for CSS regression testing using PhantomCSS
MIT License
66 stars 57 forks source link

TypeError when trying to install plugin via npm #21

Closed stefanteixeira closed 10 years ago

stefanteixeira commented 10 years ago

When trying to install plugin using the "npm install" command, as described in README, I'm getting an error:

TypeError: arguments to path.join must be strings

It occurs when the installation downloads data from the PhantomCSS repo, I think that it is related to some change that happened in PhantomCSS.

I am using updated npm and grunt versions, and this error was reproduced in OS X Mavericks.

Do you have any idea of what it is about?

Thanks!

jpnelson commented 10 years ago

Check out https://github.com/bower/bower/pull/1403, this addition to my bower.json fixed it for me:

"devDependencies": { "tmp": "0.0.23", "bower": "1.3.6", ... }

stefanteixeira commented 10 years ago

@cyberdash You mean package.json, right?

I cloned the repository, added this info to package.json and ran "npm install". You did that too?

anselmh commented 10 years ago

This is indeed a bower issue and is resolved in latest bower (1.3.8). Fixed in my fork btw.

jpnelson commented 10 years ago

@stefanteixeria yep, sorry, I meant package.json

stefanteixeira commented 10 years ago

Thanks @cyberdash and @anselmh for the answers. The installation is fine now.

Regards, Stefan.