Задать вопрос

Почему не получается выбрать шаблон в DocPad?

Установил убунту 13.10 в винтуалку.
Установил node.js через ppa.
Установил docpad.
Запустив docpad run не удается выбрать шаблон из представленных. Хотя без шаблона создание проекта проходит.
git не использую.

valeriy@valeriy-VirtualBox:~/Websites/test5$ docpad run
info: Welcome to DocPad v6.64.0 (global installation: /usr/lib/node_modules/docpad)
info: Contribute: docpad.org/docs/contribute
info: Plugins:
info: Environment: development
info: Updating the exchange...
This can take a moment...
info: Updated the exchange
info: You are about to create your new project inside your current directory. Below is a list of skeletons to bootstrap your new project:

1. HTML5 Boilerplate
HTML5 Boilerplate skeleton for DocPad. Bare essentials for building a modern website with best practices

2. HTML5 Boilerplate with Grunt
The HTML5 Boilerplate skeleton with Grunt for concatenation and minification of assets

3. HTML5 Boilerplate with Jade and LESS
A skeleton that uses the HTML5 boilerplate with Jade and LESS. Also includes jQuery and the livereload plugin.

4. Twitter Bootstrap
Simple and flexible HTML, CSS, and Javascript for popular user interface components and interactions

5. Twitter Bootstrap with Jade
Twitter Bootstrap skeleton for DocPad developed using Jade (a HAML alternative for Node.js)

6. Twitter Bootstrap with Coffeekup
Twitter Bootstrap skeleton for DocPad developed using Coffeekup (markup as coffeescript)

7. Kitchensink
A DocPad Skeleton useful for showcasing different features and functionality of DocPad. Implemented using Twitter Bootstrap

8. Benjamin Lupton's Website
Use Benjamin Lupton's website - balupton.com - as the base for your own :)

9. DocPad's Website
DocPad's Website

10. Bevry's Website
Bevry's Website (the company behind DocPad)

11. Startup Hostel's Website
Startup Hostel, the home in paradise for the doers of the world!

12. NodeChat
Node Chat, built using Socket.io, DocPad, Backbone.js and Twitter Bootstrap

13. SlidePad
Create HTML5 Presentations easily with DocPad

14. Reveal.js
Create Reveal.js presentations easily with DocPad

15. Conference Boilerplate
A kickstart to create websites for conference/events

16. Zurb Foundation(SASS)
A minimal Zurb Foundation skeleton with SASS and coffeescript

17. Meny
Create a simple page utilizing the Meny 3D menu

18. YUI PureCSS
YUI PureCSS skeleton for DocPad

19. Zurb Foundation
A clean responsive template that contains a logical setup for a website + blog

20. No Skeleton
Prefer to start from scratch? You can get started without any skeleton if you wish

Which skeleton will you use? [1-20]
1. HTML5 Boilerplate
2. HTML5 Boilerplate with Grunt
3. HTML5 Boilerplate with Jade and LESS
4. Twitter Bootstrap
5. Twitter Bootstrap with Jade
6. Twitter Bootstrap with Coffeekup
7. Kitchensink
8. Benjamin Lupton's Website
9. DocPad's Website
10. Bevry's Website
11. Startup Hostel's Website
12. NodeChat
13. SlidePad
14. Reveal.js
15. Conference Boilerplate
16. Zurb Foundation(SASS)
17. Meny
18. YUI PureCSS
19. Zurb Foundation
20. No Skeleton
> 5
info: Installing the Twitter Bootstrap with Jade skeleton into /home/valeriy/Websites/test5
This can take a moment...
error: Something went wrong with the action
error: An error occured:
Error: Could not locate git binary
at /usr/lib/node_modules/docpad/node_modules/safeps/out/lib/safeps.js:432:17
at TaskGroup. (/usr/lib/node_modules/docpad/node_modules/safeps/out/lib/safeps.js:286:16)
at TaskGroup.g (events.js:180:16)
at TaskGroup.EventEmitter.emit (events.js:98:17)
at TaskGroup.complete (/usr/lib/node_modules/docpad/node_modules/taskgroup/out/lib/taskgroup.js:566:14)
at TaskGroup.itemCompletionCallback (/usr/lib/node_modules/docpad/node_modules/taskgroup/out/lib/taskgroup.js:357:17)
at TaskGroup.EventEmitter.emit (events.js:95:17)
at Task. (/usr/lib/node_modules/docpad/node_modules/taskgroup/out/lib/taskgroup.js:415:26)
at Task.EventEmitter.emit (events.js:117:20)
at Task.completionCallback (/usr/lib/node_modules/docpad/node_modules/taskgroup/out/lib/taskgroup.js:131:19)
at /usr/lib/node_modules/docpad/node_modules/safeps/out/lib/safeps.js:299:22
at Object.cb [as oncomplete] (fs.js:168:19)
info: Shutting down... cya next time!
valeriy@valeriy-VirtualBox:~/Websites/test5$
  • Вопрос задан
  • 2545 просмотров
Подписаться 3 Оценить Комментировать
Решения вопроса 1
@leukhin
Поставьте git с помощью команды:
sudo apt-get install git
И проблема должна быть решена.
Ответ написан
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы