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

Already on GitHub? Sign in to your account

docpad scaffold is generating a CoffeeScript error #106

Closed
smebberson opened this Issue Nov 25, 2011 · 5 comments

Comments

Projects
None yet
2 participants

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 

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 :(

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

Owner

balupton commented Dec 6, 2011

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

Hey Ben,

Thanks for getting back to me, and for authorising me on Skype. Is there any time in particular that would work for you, for a quick debug session over Skype?
Alternatively is their any information I could provide to you via email that might make it easier to work out what is going on?

I'm happy to fit in as much as possible with you to try and get this working.

Alternatively, I'm quite good at debugging things... perhaps you could point me in the direction of where to look, and I'll have a crack at fixing it myself?

cheers,
Scott.

On 07/12/2011, at 7:34 AM, Benjamin Arthur Lupton wrote:

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


Reply to this email directly or view it on GitHub:
https://github.com/balupton/docpad/issues/106#issuecomment-3038719

Owner

balupton commented Dec 13, 2011

PM'd you.

@balupton balupton closed this in ce3b300 Dec 14, 2011

@balupton balupton added a commit that referenced this issue Oct 23, 2013

@balupton 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