Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Docpad Generate Bug #482

Closed
zenorocha opened this Issue · 4 comments

2 participants

Zeno Rocha Benjamin Lupton
Zeno Rocha

Hey guys,

I've tried to run docpad generate --env static on Windows 7 using alloyui.com project and after "renderFiles" process I got this error:

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

error

Do you have an idea on how to solve it?

Benjamin Lupton
Owner

Is all the versions the latest? Seems that it is a new plugin version using an old docpad version?

Zeno Rocha

I've tried to update docpad on Mac and Windows by running npm install -g docpad and seems like some dependencies are broken.

Here's my npm-debug.log.

Benjamin Lupton
Owner

Thanks for that. We've had issues like that before. Can you try updating your npm version (you're currently on v1.1.49, latest is v1.2)

Update it with: npm install -g npm

You can always downgrade back to your old version by using: npm install -g npm@1.1.49

It could also be a problem with your particular version of node as well (you're on 0.8.7, the latest 0.8 version is v0.8.23, we're also on v0.10.3 on the 0.10 version) - often node will have bugs that will cause dependencies to fail to install.

Let me know how it goes, if you still have issue, happy to remote in sometime and debug (will take about 10 minutes).

Zeno Rocha

Oh, it was the NPM version. Thanks a lot @balupton :)

Zeno Rocha zenorocha closed this
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.