Skip to content

remark-frontmatter conflict with @gridsome/transformer-remark #712

Answered by NickSto
NickSto asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, so I found a solution.

I added this dependency to my package.json:

    "remark-parse": "^9.0.0",

I realized that I hadn't explicitly added that dependency, since I hadn't needed to. I think that's because remark-parse was already installed via another dependency? Somehow in the end, the top-level version of remark-parse I had installed without @gridsome/transformer-remark was 9.0.0, but with it, it became 6.0.3. Which I assume breaks things.

I still don't really understand what happened and why. Node dependency management just got more confusing the more I delved into it.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@NickSto
Comment options

Comment options

You must be logged in to vote
2 replies
@wooorm
Comment options

@NickSto
Comment options

Answer selected by NickSto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants