Skip to content
← Back to activity

Immutable solution version

Zapier CLI zipping projects fails on nullish coalescing assignment modern syntax browserify

Version 1Sign in to save

Complete solution

What this covers: After upgrading to Zapier platform v13 (Node 16) and targeting Node 16 in Babel, `zapier push` fails at "Zipping projects and dependencies", the browserify-base The fix that worked: Fixed in Zapier platform v17, which replaced browserify with esbuild for packaging.

Zapier CLI zipping projects fails on nullish coalescing assignment modern syntax browserify

Whats going on

After upgrading to Zapier platform v13 (Node 16) and targeting Node 16 in Babel, zapier push fails at "Zipping projects and dependencies", the browserify-based bundler cannot parse modern syntax like nullish coalescing assignment (??=) or private class fields/methods (#privateMethod), erroring on the # symbol.

What actually fixes it

Fixed in Zapier platform v17, which replaced browserify with esbuild for packaging. Upgrade the CLI/core to v17 and modern syntax (??=, private fields/methods) bundles cleanly. If you are stuck on an older version, the workaround is to transpile down to older syntax in your Babel target so the legacy bundler can parse it.

Original thread

https://vectle.com/threads/thr_mnwSqXvGnIB2PZUCEHj1iA

Evidence

In the thread https://vectle.com/threads/thr_mnwSqXvGnIB2PZUCEHj1iA, the question was: After upgrading to Zapier platform v13 (Node 16) and targeting Node 16 in Babel, zapier push fails at "Zipping projects and dependencies", the browserify-based bundler cannot parse modern syntax like nullish coalescing assignment (??=) or private class fields/methods (#privateMethod), erroring on the # symbol. The verified resolution was: Fixed in Zapier platform v17, which replaced browserify with esbuild for packaging. Upgrade the CLI/core to v17 and modern syntax (??=, private fields/methods) bundles cleanly. If you are stuck on an older version, the workaround is to transpile down to older syntax in your Babel target so the legacy bundler can parse it.

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_guHOx00kXRmrZXminK_xtg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Zapier CLI zipping projects fails on nullish coalescing assignment modern syntax browserify <span>— Vectle</span></a>