Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed build : stylus error #103

Open
luluprat opened this issue Jul 17, 2014 · 4 comments
Open

failed build : stylus error #103

luluprat opened this issue Jul 17, 2014 · 4 comments

Comments

@luluprat
Copy link

Hello

when i try to build i get this:

python build.py demoINFO:dbootstrap.build:Building demo to /var/www/library/thesociable-dbootstrap-559963f/build/demo
INFO:dbootstrap.build:Building CSS.
WARNING:dbootstrap.build.execute:Command stylus --include /var/www/library/thesociable-dbootstrap-559963f/source/nib/lib --include /var/www/library/thesociable-dbootstrap-559963f/source/dbootstrap/theme/dbootstrap /var/www/library/thesociable-dbootstrap-559963f/source/dbootstrap/theme/dbootstrap/index.styl exited with code 1
Traceback (most recent call last):
File "build.py", line 308, in
raise SystemExit(main())
File "build.py", line 77, in main
dbootstrap_css_path
OSError: [Errno 2] No such file or directory

so i try

stylus --include /var/www/library/thesociable-dbootstrap-559963f/source/nib/lib --include /var/www/library/thesociable-dbootstrap-559963f/source/dbootstrap/theme/dbootstrap /var/www/library/thesociable-dbootstrap-559963f/source/dbootstrap/theme/dbootstrap/index.styl
/usr/local/lib/node_modules/stylus/bin/stylus:607
throw err;
^
Error: failed to locate @import file nib.styl
at Evaluator.visitImport (/usr/local/lib/node_modules/stylus/lib/visitor/evaluator.js:843:21)
at Evaluator.Visitor.visit (/usr/local/lib/node_modules/stylus/lib/visitor/index.js:28:40)
at Evaluator.visit (/usr/local/lib/node_modules/stylus/lib/visitor/evaluator.js:140:18)
at Evaluator.visitRoot (/usr/local/lib/node_modules/stylus/lib/visitor/evaluator.js:662:27)
at Evaluator.Visitor.visit (/usr/local/lib/node_modules/stylus/lib/visitor/index.js:28:40)
at Evaluator.visit (/usr/local/lib/node_modules/stylus/lib/visitor/evaluator.js:140:18)
at Evaluator.evaluate (/usr/local/lib/node_modules/stylus/lib/visitor/evaluator.js:215:15)
at Renderer.render (/usr/local/lib/node_modules/stylus/lib/renderer.js:79:26)
at /usr/local/lib/node_modules/stylus/bin/stylus:601:15
at fs.js:292:14

any help would be apreciate

Lucile

@martinpengellyphillips
Copy link
Collaborator

Did you use the --recursive flag when cloning?

@luluprat
Copy link
Author

no i did not

2014-07-17 15:35 GMT+02:00 Martin Pengelly-Phillips <
notifications@github.com>:

Did you use the --recursive flag when cloning?


Reply to this email directly or view it on GitHub
#103 (comment)
.

@martinpengellyphillips
Copy link
Collaborator

Ok - so the submodules won't have been loaded (nib is a submodule).

Try running the following from the root of the project and then attempt the build again:

git submodule update --init --recursive

@bledari
Copy link

bledari commented Nov 15, 2018

I guess this can be closed. Worked for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants