Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

docpad scaffold is generating a CoffeeScript error #106

Closed
smebberson opened this Issue · 5 comments

2 participants

Scott Mebberson Benjamin Lupton
Scott Mebberson

I've installed coffee-script and docpad globally, but when I try to run docpad scaffold in a new directory I created I get the following error:

error: An error occured: Object #<Object> has no method 'error' TypeError: Object #<Object> has no method 'error'

The full log output is:

info: About to initialize the skeleton [kitchensink] to [/Users/smebberson/Sites/scottmebberson]
    → [2011-11-25 16:32:09.358] [/usr/lib/node_modules/docpad/lib/docpad.coffee:859] [unknown]
info: [kitchensink] Initialising the Skeleton to /Users/smebberson/Sites/scottmebberson
    → [2011-11-25 16:32:09.360] [/usr/lib/node_modules/docpad/lib/docpad.coffee:284] [Docpad.initializeSkeleton]
error: An error occured: Object #<Object> has no method 'error' TypeError: Object #<Object> has no method 'error'
    at /usr/lib/node_modules/docpad/lib/docpad.coffee:368:34
    at /usr/lib/node_modules/docpad/lib/docpad.coffee:861:18
    at Group.next (/usr/lib/node_modules/docpad/lib/docpad.coffee:301:18)
    at Group.exit (/usr/lib/node_modules/docpad/node_modules/bal-util/lib/util.coffee:117:21)
    at Group.complete (/usr/lib/node_modules/docpad/node_modules/bal-util/lib/util.coffee:94:23)
    at /usr/lib/node_modules/docpad/node_modules/bal-util/lib/util.coffee:109:22
    at ChildProcess.exithandler (child_process.js:106:7)
    at ChildProcess.emit (events.js:67:17)
    at ChildProcess.onexit (child_process.js:192:12)
    → [2011-11-25 16:32:09.369] [/usr/lib/node_modules/docpad/lib/docpad.coffee:412] [Docpad.error]
notice: [kitchensink] This could take a while, grab a snickers
    → [2011-11-25 16:32:14.360] [/usr/lib/node_modules/docpad/lib/docpad.coffee:194] [Object.<anonymous>]

Is there any more information I can provide? I'd really like to get docpad up and running :)

Here is the output of sudo npm list -g:

/usr/lib
├── coffee-script@1.1.3 
├─┬ docpad@2.3.8 
│ ├─┬ bal-util@0.8.1 
│ │ └── request@2.2.5 
│ ├─┬ caterpillar@0.1.7 
│ │ └─┬ cli-color@0.1.3 
│ │   └── es5-ext@0.6.2 
│ ├── coffee-script@1.1.3 
│ ├── commander@0.3.3 
│ ├─┬ express@2.5.1 
│ │ ├─┬ connect@1.8.1 
│ │ │ └── formidable@1.0.7 
│ │ ├── mime@1.2.4 
│ │ ├── mkdirp@0.0.7 
│ │ └── qs@0.4.0 
│ ├── growl@1.1.0 
│ ├── js2coffee@0.1.1 
│ ├─┬ npm@1.0.106 
│ │ ├── abbrev@1.0.3 
│ │ ├── graceful-fs@1.0.1 
│ │ ├── ini@1.0.1 
│ │ ├─┬ minimatch@0.0.4 
│ │ │ └── lru-cache@1.0.4 
│ │ ├── node-uuid@1.2.0 
│ │ ├── nopt@1.0.10 
│ │ ├── proto-list@1.0.0 
│ │ ├── request@2.1.1 
│ │ ├── rimraf@1.0.8 
│ │ ├── semver@1.0.11 
│ │ ├── slide@1.1.3 
│ │ └── which@1.0.2 
│ ├── query-engine@0.5.3 
│ ├── underscore@1.2.2 
│ ├── watchr@0.1.0 
│ └── yaml@0.2.1 
Scott Mebberson

Is there anything else I can provide to make this issue easy to find? Has anyone else experienced this? After a few Google searches I can't find anything similar :(

Scott Mebberson

I'm now running node 0.6.3 and docpad 2.4.0 and I'm still getting the error.

Benjamin Lupton
Owner

Strange... let's debug this over skype sometime. My skype username is balupton.

Scott Mebberson
Benjamin Lupton
Owner

PM'd you.

Benjamin Lupton balupton closed this issue from a commit
Benjamin Lupton balupton Fixed #106 `Object #<Object> has no method 'error'`
Some action calls had the wrong scope.
ce3b300
Benjamin Lupton balupton closed this in ce3b300
Benjamin Lupton balupton referenced this issue from a commit
Benjamin Lupton balupton Fixed #106 `Object #<Object> has no method 'error'`
Some action calls had the wrong scope.
dc11c38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.