Gatsby development server stops on every syntax error

Viewed 612

Any type of syntax error or code as I'm developing will cause my dev server to stop.

I'm simply running an npm start that's setup with this

GATSBY_ACTIVE_ENV=development gatsby develop

I get a message on any syntax error:

Failed to validate error [Error [ValidationError]: "location.start.index" is not allowed:
....
....
{ 
  message: '"location.start.index" is not allowed',
  path: [Array],
  type: 'object.unknown',
  context: [Object] 
}

failed Re-building development bundle - 0.714s

Is there any obvious things to check? I'm running from within vscode . I would expect the dev server to not fail on any syntax error

0 Answers
Related