delucis / astro-netlify-cms

Integration to add Netlify CMS’s admin dashboard to any Astro project
161 stars 21 forks source link

Build failing with demo and Astro 1.4.4 #22

Closed webprogrammingsolutions closed 1 year ago

webprogrammingsolutions commented 1 year ago

Trying to build with Astro 1.4.4 and failing:

generating static routes error component is not defined ReferenceError: component is not defined atfile:///Users/psmith/Sites/nw-3-deploy-testing/test/.astro/entry.mjs?time=1665061500569:1780:25``

line 1780:

__astro_tag_component__(component, "@astrojs/react");

package.json:

{ "name": "@example/blog", "version": "0.0.1", "private": true, "scripts": { "dev": "astro dev", "start": "npm run dev", "build": "astro build", "preview": "astro preview" }, "devDependencies": { "astro": "^1.4.4", "astro-netlify-cms": "^0.2.2" } }

delucis commented 1 year ago

Hi @webprogrammingsolutions! Thanks for the bug report. I’m not able to reproduce this using the starter example project: https://github.com/delucis/astro-netlify-cms-starter

Would you be able to share a copy of your failing project? I’m wondering if the component is not defined error is triggered by something else in the project.

delucis commented 1 year ago

Hi again @webprogrammingsolutions! Going to close this for now in the absence of a reproduction. Please do share more details if you have them!