voorhoede / head-start

Base setup on top of headless services to help you quickly start a new website
ISC License
3 stars 0 forks source link

chore: upgrade to Astro 4.2 + other deps #118

Closed jbmoelker closed 5 months ago

jbmoelker commented 5 months ago

Changes

19:16:05 [@astrojs/cloudflare] There is no `.dev.vars` file in the root directory, if you have encrypted secrets or environmental variables you Cloudflare recommends to put them in this file
19:16:06 [ERROR] [UnhandledRejection] Astro detected an unhandled rejection. Here's the stack trace:
Error: EEXIST: file already exists, mkdir '/Users/.../code/voorhoede/head-start/node_modules/.astro/'
    at mkdirSync (node:fs:1379:3)
    at LocalPagesRuntime.getCF (file:///Users/.../code/voorhoede/head-start/node_modules/@astrojs/cloudflare/dist/utils/local-runtime.js:114:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async middleware (file:///Users/.../code/voorhoede/head-start/node_modules/@astrojs/cloudflare/dist/index.js:66:36)
  Hint:
    Make sure your promises all have an `await` or a `.catch()` handler.
  Error reference:
    https://docs.astro.build/en/reference/errors/unhandled-rejection/
  Stack trace:
    at mkdirSync (node:fs:1379:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    [...] See full stack trace in the browser, or rerun with --verbose.

Associated issue

How to test

  1. Checkout branch.
  2. Run npm run dev.
  3. Verify everything still works.

Checklist

cloudflare-pages[bot] commented 5 months ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7ec0ccc
Status: ✅  Deploy successful!
Preview URL: https://6872f9b4.head-start.pages.dev
Branch Preview URL: https://chore-upgrade-astro-v4-2.head-start.pages.dev

View logs