Gatsby-theme-novela: gatsby-plugin-mdx errors when building

Created on 1 May 2020  路  6Comments  路  Source: narative/gatsby-theme-novela

Prerequisites

  • [x] Have you searched the issue tracker for similar issues (either past or present)?
  • [x] Can you reproduce the issue consistently?
  • [x] Are you reporting to the correct repository?
  • [ ] Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.

Description

Version of Novela you are using

0.14.4

Describe the bug

When building (development or production), I receive two gatsby-plugin-mdx errors as seen below:

Screenshot

When building for development, there no issue with the actual web page itself as I can tell, but when building for production, each page you try and access comes back as 404.

The issue is the same with both my personal website, and the gatsby-starter-novela website.

The issue has only surfaced in the last few days, which leads me to believe that something was broken in a recent update.

To Reproduce

Steps to reproduce the behavior:

  1. Run npm update
  2. Run gatsby develop or gatsby build
bug

Most helpful comment

Same problem here

All 6 comments

Same problem here

I saw the same thing after upgrading to 0.14.4, but no longer see it with 0.14.6.

@KrisBraun That's strange, I'm still getting the same errors even when using 0.14.6. Did you change anything other than the theme version?

I did rename my posts from .mdx to .md. I thought I saw the error go away before making that change, but it's possible they were connected.

@KrisBraun Very strange, I'm still getting the same errors even though I'm using the latest theme version and my posts are .md.

Any thoughts on what might be causing this issue?

I wasn't able to find what was ultimately causing the issue, but I ended up deleting my node_modules folder and package-lock.json then running npm install again, which seems to have solved the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mabasic picture mabasic  路  4Comments

bravo-kernel picture bravo-kernel  路  4Comments

MartinRosenberg picture MartinRosenberg  路  3Comments

slorber picture slorber  路  3Comments

sw-yx picture sw-yx  路  3Comments