Skip to content
This repository has been archived by the owner on Nov 26, 2021. It is now read-only.

I'm not sure what is causing the error. #51

Open
lassiter opened this issue Mar 23, 2017 · 4 comments
Open

I'm not sure what is causing the error. #51

lassiter opened this issue Mar 23, 2017 · 4 comments

Comments

@lassiter
Copy link

I updated my content type to be 'blogPost' and am now getting split errors when I run 'npm start' in terminal.

You can see the latest version here: https://github.com/lassiter/portfolio-wip/tree/metalsmith-rework and the debug log: https://github.com/lassiter/portfolio-wip/blob/metalsmith-rework/npm-debug.log.

You can see my terminal entry here: https://slack-files.com/T0ANJK399-F4P08H1QA-ac0fbd69ba

@Khaledgarbaya
Copy link
Contributor

Khaledgarbaya commented Mar 24, 2017

Hi @lassiter,
I can see the content_type is different here, shouldn't be blogPost ?
the crash is not happening in the plugin btw. the shorten function crashes becuase there is no content.

@axe312ger
Copy link
Contributor

That one should help you :)
https://github.com/lassiter/portfolio-wip/pull/1

@axe312ger
Copy link
Contributor

I fixed the example in the readme -> 95db056

@lassiter
Copy link
Author

@Khaledgarbaya I don't quite understand. So, far I've never been successful getting it to integrate with my space regardless the content type being blogPost or the content type via the hash code (or whatever you call that which you referenced). Getting it up and running with node.js has been the biggest wall that I've yet to surmount.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants