gawel/gp.recipe.node — Issue #2: This recipe is not compatible with collective.recipe.cmd
Author: nikolaykhodov
Created: 2012-01-17 05:43:24+00:00
State: open

My buildout.cfg:

```[buildout]
parts = python lessc template
develop = .
base-eggs =
zc.recipe.cmmi
Cheetah
eggs =
${buildout:base-eggs}
mts-xml-detail-parser

[python]
recipe = zc.recipe.egg
interpreter = python
eggs = ${buildout:eggs}

[lessc]
recipe = gp.recipe.node
npms = less
scripts = lessc

[template]
recipe = collective.recipe.cmd
on_install = true
on_update = true
base-cmds =
./bin/lessc ./src/template/html/style.less > ./src/template/html/style.css
cmds =
${template:base-cmds}
```

On installing style.less is successfully processed. But on updating I got exception:

```

$ ./bin/buildout -D -o -N
Develop: '/home/nikolay/Desktop/mts/.'
Updating python.
Updating lessc.
export HOME=/home/nikolay/Desktop/mts/parts/lessc;export PATH=/home/nikolay/Desktop/mts/parts/node-v0.4.12/bin:$PATH;echo "prefix=$HOME" > $HOME/.npmrc;/home/nikolay/Desktop/mts/parts/node-v0.4.12/bin/npm install -g less
/home/nikolay/Desktop/mts/parts/lessc/bin/lessc -> /home/nikolay/Desktop/mts/parts/lessc/lib/node_modules/less/bin/lessc
less@1.2.0 /home/nikolay/Desktop/mts/parts/lessc/lib/node_modules/less
Updating template.
Traceback (most recent call last):
File "/home/nikolay/Desktop/mts/bin/lessc", line 17, in
import gp.recipe.node.script
File "/home/nikolay/Desktop/mts/eggs/gp.recipe.node-0.2-py2.7.egg/gp/recipe/node/__init__.py", line 3, in
from zc.recipe.cmmi import Recipe as Cmmi
ImportError: No module named recipe.cmmi
```