Open mikevercoelen opened 9 months ago
We're getting the following error in our pipeline:
$ /rocko/node_modules/.bin/betterer ci -- | | \ \| / _ _ _ | '-.ooo.-' \| \|__ ___\| \|_\| \|_ ___ _ __ ___ _ __ | ---ooooo--- \| '_ \/ _ \ __\| __/ _ \ '__/ _ \ '__\| | .-'ooo'-. \| \|_)\| __/ \|_\| \|\| __/ \| \| __/ \| | / \| \ \|_.__/\___\|\__\|\__\___\|_\| \___\|_\| | | | Error: Invalid string length | at JSON.stringify (<anonymous>) | at serializerDefault | (/rocko/node_modules/fast-memoize/src/index.js:107:15) | at monadic (/rocko/node_modules/fast-memoize/src/index.js:33:43) | at BettererGitΩ._getFileHash | (/rocko/node_modules/@betterer/betterer/dist/fs/git.js:92:40) | at async /rocko/node_modules/@betterer/betterer/dist/fs/git.js:151:55 | at async Promise.all (index 0) | at async BettererGitΩ._sync | (/rocko/node_modules/@betterer/betterer/dist/fs/git.js:142:9) | at async BettererGitΩ.sync | (/rocko/node_modules/@betterer/betterer/dist/fs/git.js:70:9) | at async BettererGitΩ.init | (/rocko/node_modules/@betterer/betterer/dist/fs/git.js:62:9)
Has anyone had this error before? It was running fine before
Did a bit of research and this might be an out of memory error in disguise. You could try doing the whole NODE_OPTIONS="--max-old-space-size=4096" and see if that makes any difference.
NODE_OPTIONS="--max-old-space-size=4096"
We're getting the following error in our pipeline:
Has anyone had this error before? It was running fine before