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
Current main branch is intermittently failing on Vercel
You may detect this by looking at the commit history of the repository and looking for the green checkmarks or red Xs per-commit, you will see quite a few red Xs and if you hover over them to get details you'll see it is the Vercel deployment failing.
Sometimes it works though, with no change to the related code or dependencies, so it is intermittent
I reproduce it locally though, when running the commands that fail:
cd website
yarn
``yarn run build`
mike@win-osxvm2:~/work/invertase/react-native-firebase/website (@mikehardy/dependency-updates) % yarn run build
yarn run v1.22.19
warning package.json: "dependencies" has dependency "typescript" with range "^4.8.4" that collides with a dependency in "devDependencies" of the same name with version "^3.7.5"
$ gatsby build
success open and validate gatsby-configs - 0.383s
success load plugins - 0.672s
success onPreInit - 0.087s
success delete html and css files from previous builds - 0.007s
success initialize cache - 0.030s
success copy gatsby files - 0.192s
success onPreBootstrap - 0.021s
success createSchemaCustomization - 0.004s
/Users/mike/work/invertase/react-native-firebase/tsconfig.json
⠴ source and transform nodes
Using TypeScript 4.9.5 from /Users/mike/work/invertase/react-native-firebase/website/node_modules/typescript/lib
warn DeprecationWarning: 'isIdentifierOrPrivateIdentifier' has been deprecated since v4.2.0. Use `isMemberName` instead.
⠴ source and transform nodes
JSON written to /Users/mike/work/invertase/react-native-firebase/website/typedoc.json
Failed to validate error Error [ValidationError]: "reasonCode" is not allowed. "syntaxPlugin" is not allowed. "loc" is not allowed. "pos" is not allowed
at Object.exports.process (/Users/mike/work/invertase/react-native-firebase/website/node_modules/@hapi/joi/lib/errors.js:202:19)
at internals.Object._validateWithOptions (/Users/mike/work/invertase/react-native-firebase/website/node_modules/@hapi/joi/lib/types/any/index.js:763:31)
at internals.Object.validate (/Users/mike/work/invertase/react-native-firebase/website/node_modules/@hapi/joi/lib/types/any/index.js:797:21)
at constructError (/Users/mike/work/invertase/react-native-firebase/website/node_modules/gatsby-cli/lib/structured-errors/construct-error.js:52:32)
at Reporter.error (/Users/mike/work/invertase/react-native-firebase/website/node_modules/gatsby-cli/lib/reporter/reporter.js:135:59)
at Reporter.panic (/Users/mike/work/invertase/react-native-firebase/website/node_modules/gatsby-cli/lib/reporter/reporter.js:75:34)
at Object.panic (/Users/mike/work/invertase/react-native-firebase/website/node_modules/gatsby/src/utils/api-runner-node.js:213:16)
at /Users/mike/work/invertase/react-native-firebase/website/scripts/source-reference.js:90:22
at Array.forEach (<anonymous>)
at /Users/mike/work/invertase/react-native-firebase/website/scripts/source-reference.js:64:25
at Array.forEach (<anonymous>)
at sourceReference (/Users/mike/work/invertase/react-native-firebase/website/scripts/source-reference.js:42:12)
at Object.exports.sourceNodes (/Users/mike/work/invertase/react-native-firebase/website/gatsby-node.js:24:46)
at runAPI (/Users/mike/work/invertase/react-native-firebase/website/node_modules/gatsby/src/utils/api-runner-node.js:485:16) {
isJoi: true,
details: [
{
message: '"reasonCode" is not allowed',
path: [Array],
type: 'object.allowUnknown',
context: [Object]
},
{
message: '"syntaxPlugin" is not allowed',
path: [Array],
type: 'object.allowUnknown',
context: [Object]
},
{
message: '"loc" is not allowed',
path: [Array],
type: 'object.allowUnknown',
context: [Object]
},
{
message: '"pos" is not allowed',
path: [Array],
type: 'object.allowUnknown',
context: [Object]
}
],
_object: {
context: {},
code: 'BABEL_PARSE_ERROR',
reasonCode: 'UnterminatedJsxContent',
syntaxPlugin: 'jsx',
loc: Position { line: 9, column: 16, index: 423 },
pos: 423,
pluginName: 'default-site-plugin',
text: 'There was an error',
level: 'ERROR',
stack: [],
docsUrl: 'https://gatsby.dev/issue-how-to'
},
annotate: [Function (anonymous)]
}
not finished source and transform nodes - 34.028s
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered:
First time it happened was 6 days ago, it has been intermittent but worsening since then. Not sure what changed in the dependency graph unfortunately and just verified that the dependencies there are not locked so something must have slid out of a compatible range 😬
Issue
Current main branch is intermittently failing on Vercel
You may detect this by looking at the commit history of the repository and looking for the green checkmarks or red Xs per-commit, you will see quite a few red Xs and if you hover over them to get details you'll see it is the Vercel deployment failing.
Sometimes it works though, with no change to the related code or dependencies, so it is intermittent
I reproduce it locally though, when running the commands that fail:
cd website
yarn
The text was updated successfully, but these errors were encountered: