You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you follow along the example guide, create a wrangler.toml and try to deploy, I'm getting the error below. Not sure exactly where this is happening.
❯ nr deploy
$ astro build && wrangler pages deploy
Cannot read properties of undefined (reading 'startsWith')
Location:
/Users/am/Coding/example-app/node_modules/@astrojs/internal-helpers/dist/path.js:17:15
Stack trace:
at removeLeadingForwardSlash (file:///Users/am/Coding/example-app/node_modules/@astrojs/internal-helpers/dist/path.js:17:15)
at injectImageEndpoint (file:///Users/am/Coding/example-app/node_modules/astro/dist/assets/endpoint/config.js:8:24)
at async AstroBuilder.run (file:///Users/am/Coding/example-app/node_modules/astro/dist/core/build/index.js:181:23)
at async build (file:///Users/am/Coding/example-app/node_modules/astro/dist/cli/build/index.js:29:3)
at async cli (file:///Users/am/Coding/example-app/node_modules/astro/dist/cli/index.js:175:5)
error: script "deploy" exited with code 1
The text was updated successfully, but these errors were encountered:
https://developers.cloudflare.com/workers/frameworks/framework-guides/astro/
If you follow along the example guide, create a wrangler.toml and try to deploy, I'm getting the error below. Not sure exactly where this is happening.
The text was updated successfully, but these errors were encountered: