Skip to content

Instantly share code, notes, and snippets.

@patocallaghan
Created June 10, 2012 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patocallaghan/2906831 to your computer and use it in GitHub Desktop.
Save patocallaghan/2906831 to your computer and use it in GitHub Desktop.
DocPad Error
c:\Dev>mkdir test
c:\Dev>cd test
c:\Dev\test>node --version
v0.6.18
c:\Dev\test>npm --version
1.1.21
c:\Dev\test>git --version
git version 1.7.4.msysgit.0
c:\Dev\test>docpad --version
5.2.5
c:\Dev\test>docpad run -d
debug: DocPad loaded succesfully
→ [2012-06-11 06:20:19.768] [C:\Users\Pat\AppData\Roaming\npm\node_modules\docpad\lib\docpad.js] [unknown]
debug: Loaded the following plugins:
→ [2012-06-11 06:20:19.784] [C:\Users\Pat\AppData\Roaming\npm\node_modules\docpad\lib\docpad.js] [unknown]
info: Welcome to DocPad v5.2.5
→ [2012-06-11 06:20:19.784] [C:\Users\Pat\AppData\Roaming\npm\node_modules\docpad\lib\interfaces\console.js] [ConsoleInterface.welcome]
debug: Performing the action all
→ [2012-06-11 06:20:19.784] [C:\Users\Pat\AppData\Roaming\npm\node_modules\docpad\lib\docpad.js] [DocPad.action]
debug: Loading configuration url: https://raw.github.com/bevry/docpad-extras/docpad-5.x/exchange.json
→ [2012-06-11 06:20:20.595] [C:\Users\Pat\AppData\Roaming\npm\node_modules\docpad\lib\docpad.js] [DocPad.loadConfigUrl]
You are about to create your new project inside your current directory. Below is a list of skeletons to bootstrap your new project:
canvas.docpad
The bare minimum to get started, with a few bundled client-side libraries to make it easier.
balupton.docpad
The personal website/blog of Benjamin Lupton, the creator of DocPad.
kitchensink.docpad
A DocPad Skeleton useful for showcasing different features and functionality of DocPad. Implemented using Twitter Bootstrap.
Which skeleton will you use?
1) canvas.docpad
2) balupton.docpad
3) kitchensink.docpad
: 3
debug: Loading configuration url: https://raw.github.com/bevry/docpad-extras/docpad-5.x/exchange.json
→ [2012-06-11 06:20:24.542] [C:\Users\Pat\AppData\Roaming\npm\node_modules\docpad\lib\docpad.js] [DocPad.loadConfigUrl]
CreateProcessW:
The system cannot find the file specified.
CreateProcessW: The system cannot find the file specified.
CreateProcessW: The system cannot find the file specified.
CreateProcessW: The system cannot find the file specified.
CreateProcessW: The system cannot find the file specified.
CreateProcessW: The system cannot find the file specified.
debug: Loading configuration path: C:\Users\Pat\AppData\Roaming\npm\node_modules\docpad\package.json
→ [2012-06-11 06:20:25.821] [C:\Users\Pat\AppData\Roaming\npm\node_modules\docpad\lib\docpad.js] [DocPad.loadConfigPath]
debug: Loading configuration path: c:\Dev\test\package.json
→ [2012-06-11 06:20:25.821] [C:\Users\Pat\AppData\Roaming\npm\node_modules\docpad\lib\docpad.js] [DocPad.loadConfigPath]
debug: Loading configuration path: c:\Dev\test\docpad.cson
→ [2012-06-11 06:20:25.821] [C:\Users\Pat\AppData\Roaming\npm\node_modules\docpad\lib\docpad.js] [DocPad.loadConfigPath]
warning: DocPad is currently running without any plugins installed. You probably want to install some: https://github.com/bevry/docpad/wiki/Plugins
→ [2012-06-11 06:20:25.837] [C:\Users\Pat\AppData\Roaming\npm\node_modules\docpad\lib\docpad.js] [DocPad.generateAction]
info: Generating...
→ [2012-06-11 06:20:25.837] [C:\Users\Pat\AppData\Roaming\npm\node_modules\docpad\lib\docpad.js] [unknown]
error: An error occured: Cannot generate website as the src dir was not found Error: Cannot generate website as the src dir was not found
at C:\Users\Pat\AppData\Roaming\npm\node_modules\docpad\lib\docpad.js:1421:33
at Object.oncomplete (path.js:415:19)
→ [2012-06-11 06:20:25.868] [C:\Users\Pat\AppData\Roaming\npm\node_modules\docpad\lib\docpad.js] [DocPad.error]
c:\Dev\test>git status
fatal: Not a git repository (or any of the parent directories): .git
c:\Dev\test>git remote -v
fatal: Not a git repository (or any of the parent directories): .git
c:\Dev\test>git branch -va
fatal: Not a git repository (or any of the parent directories): .git
c:\Dev\test>ls -lav
total 4
drwxr-xr-x 2 Pat Administ 0 Jun 11 06:19 .
drwxr-xr-x 34 Pat Administ 8192 Jun 11 06:19 ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment