bem/bem-tools — Issue #17: Проблема с bem build
Author: zolotoy
Created: 2011-11-19 20:03:59+00:00
State: open

Беру тестовый проект отсюда - https://github.com/bem/bem-bl-test
Во время сборки вылетает ошибка:

/Users/vizo/Sites/test make
bem create block -l pages -T bemdecl.js client
bem build -l bem-bl/blocks-common/ -l bem-bl/blocks-desktop/ -l blocks/ -l pages/client/blocks/ -d pages/client/client.bemdecl.js -t deps.js -o pages/client -n client
bem build -l bem-bl/blocks-common/ -l bem-bl/blocks-desktop/ -l blocks/ -l pages/client/blocks/ -d pages/client/client.deps.js -t bem-bl/blocks-common/i-bem/bem/techs/bemhtml.js -o pages/client -n client
Error: Cannot find module 'bem/lib/path'
at Function._resolveFilename (module.js:317:11)
at Function._load (module.js:262:25)
at require (module.js:346:19)
at Object. (/Users/vizo/Sites/test/bem-bl/blocks-common/i-bem/bem/techs/bemhtml.js:1:76)
at Module._compile (module.js:402:26)
at Object..js (module.js:408:10)
at Module.load (module.js:334:31)
at Function._load (module.js:293:12)
at require (module.js:346:19)
at /usr/lib/node_modules/bem/lib/tech.js:13:20
make: *** [pages/client/client.bemhtml.js] Error 1
rm pages/client/client.deps.js pages/client/client.bemdecl.js

node -v v0.4.11

npm -v 1.0.104

bem -v 0.1.2