Deploy fails silently
simonw opened this issue · 3 comments
simonw commented
https://github.com/simonw/til/runs/6887335796 ran successfully but actually didn't deploy:
/usr/local/lib/node_modules/vercel/dist/index.js:201730
.filter((b) => Boolean(b.config && b.config.zeroConfig && b.src?.startsWith('api/')))
^
SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
simonw commented
Here's the bug:
simonw commented
https://github.com/vercel/vercel/releases/tag/vercel%4025.0.0 says:
This release drops support for Node.js 12 in all packages
But my action does this:
til/.github/workflows/build.yml
Lines 84 to 87 in e3ad444
simonw commented
That fixed it.