voceconnect / grunt-composer

A grunt wrapper for composer
17 stars 5 forks source link

Does not run #1

Closed AidasK closed 10 years ago

AidasK commented 10 years ago

Tried to run on windows: $ grunt composer:update Running "composer:update" (composer) task Fatal error: spawn ENOENT

ifthenelse commented 10 years ago

Same here. I have a Laravel 4 project which dependencies are managed by composer. Any command returns the same error:

➜  htdocs git:(master) ✗ grunt
Running "composer:self-update" (composer) task
Fatal error: spawn ENOENT
➜  htdocs git:(master) ✗ grunt composer:self-update
Running "composer:self-update" (composer) task
Fatal error: spawn ENOENT
➜  htdocs git:(master) ✗ grunt composer:update
Running "composer:update" (composer) task
Fatal error: spawn ENOENT

Occurs with:

prettyboymp commented 10 years ago

In both of these instances, is composer installed globally? The script currently assumes that composer is globally installed.

AidasK commented 10 years ago

Yes, it is installed globally

ErwanTremiot commented 10 years ago

I have the same issue. I tested it under Windows 7 and the OpenSuse. In both composer is installed globally. It isn't working on Windows but works fine on OpenSuse

Toddish commented 10 years ago

Same error for me on Windows 7.

Running composer install works fine, but grunt composer:install errors.

bweston92 commented 10 years ago

Same here no update as of yet?

prettyboymp commented 10 years ago

Nothing yet. I need to get a Win7 environment setup to debug on.

bweston92 commented 10 years ago

I have made a working copy:

https://github.com/voceconnect/grunt-composer/pull/3