bem-archive / bem-django Goto Github PK
View Code? Open in Web Editor NEWBEM for Django
BEM for Django
Sory, but it`s not work for me.
> bem create block itest
WARNING!
Command "bem create block" is deprecated!
It will be removed in [email protected], please use `bem create -b ...` command instead.
WARNING!
Tech module "app" at ...\DJANGO_BEM_TEST\bem-django\.bem\techs\app.js is using API V1.
Tech modules API V1 is not recommended to use, because it is slow.
Please use tech modules API V2, it makes your build process faster!
Instructions for migrating to API V2: http://git.io/gbLDOA
Error: ENOENT, no such file or directory '...\DJANGO_BEM_TEST\bem-django\itest'
at Object.fs.readdirSync (fs.js:654:18)
at exports.Tech.INHERIT.create (...\DJANGO_BEM_TEST\bem-django\.bem\techs\app.js:17:12)
at exports.Tech.INHERIT.createByDecl (...\DJANGO_BEM_TEST\bem-django\node_modules\bem\lib\tech\v1.js:75:25)
at C:\Users\stribog\AppData\Roaming\npm\node_modules\bem\lib\commands\create\block.js:39:47
at Array.map (native)
at C:\Users\stribog\AppData\Roaming\npm\node_modules\bem\lib\commands\create\block.js:38:36
at Array.map (native)
at Cmd.<anonymous> (C:\Users\stribog\AppData\Roaming\npm\node_modules\bem\lib\commands\create\block.js:37:37)
at C:\Users\stribog\AppData\Roaming\npm\node_modules\bem\node_modules\coa\lib\cmd.js:483:22
at _fulfilled (C:\Users\stribog\AppData\Roaming\npm\node_modules\bem\node_modules\q\q.js:798:54)
at self.promiseDispatch.done (C:\Users\stribog\AppData\Roaming\npm\node_modules\bem\node_modules\q\q.js:827:30)
at Promise.promise.promiseDispatch (C:\Users\stribog\AppData\Roaming\npm\node_modules\bem\node_modules\q\q.js:760:13)
at C:\Users\stribog\AppData\Roaming\npm\node_modules\bem\node_modules\q\q.js:574:44
at flush (C:\Users\stribog\AppData\Roaming\npm\node_modules\bem\node_modules\q\q.js:108:17)
at process._tickCallback (node.js:415:13)
at Function.Module.runMain (module.js:499:11)
at startup (node.js:119:16)
at node.js:902:3
And, after created itest
dir:
>bem create block itest
WARNING!
Command "bem create block" is deprecated!
It will be removed in [email protected], please use `bem create -b ...` command instead.
WARNING!
Tech module "app" at ...\DJANGO_BEM_TEST\bem-django\.bem\techs\app.js is using API V1.
Tech modules API V1 is not recommended to use, because it is slow.
Please use tech modules API V2, it makes your build process faster!
Instructions for migrating to API V2: http://git.io/gbLDOA
Error: spawn ENOENT
at errnoException (child_process.js:988:11)
at Process.ChildProcess._handle.onexit (child_process.js:779:34)
Sorry, but i have not time for deep research.
May be this trace will be helpful for you.
Tested on OSX:
[art@~/bem-django]% make
GNUmakefile:8: *** target pattern contains no `%'. Stop.
[art@~/bem-django]% make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
And similar issue on Ubuntu Precise (12.04):
[+|art@skate:/tmp/bem-django]% make
GNUmakefile:8: *** multiple target patterns. Stop.
[art@~/bem-django]% make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i686-pc-linux-gnu
Now it works on 0.8.x.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.