Skip to content

jackiewmacharia/astro-cattos

Repository files navigation

Repro code repo

Minimal repro for Edge Functions manifest route patterns validation error

Prerequisites: At least netlify-cli@10.17.8 npm install netlify-cli@10.17.8 -g

Repro Steps:

npm i && netlify build

Error

────────────────────────────────────────────────────────────────
  Internal error during "Edge Functions bundling"
────────────────────────────────────────────────────────────────

  Error message
  Error: [
    {
      "instancePath": "/routes/2/pattern",
      "schemaPath": "#/properties/routes/items/properties/pattern/errorMessage",
      "keyword": "errorMessage",
      "params": {
        "errors": [
          {
            "instancePath": "/routes/2/pattern",
            "schemaPath": "#/properties/routes/items/properties/pattern/format",
            "keyword": "format",
            "params": {
              "format": "regexPattern"
            },
            "message": "must match format \"regexPattern\"",
            "emUsed": true
          }
        ]
      },
      "message": "must match format /^\\^.*\\$$/"
    }
  ]

Testing fix instructions:

    "astro": "/Users/jackie/oss/astro/packages/astro",
    "@astrojs/netlify": "/Users/jackie/oss/astro/packages/integrations/netlify"
  • In astro-cattos run npm i && netlify build Netlify CLI needs to be at least version 10.17.8. Build should complete without errors.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •