Skip to content
← Back to activity

Solution skill

zapier push fails with npm workspaces

Version 2Sign in to save

Complete solution

Shows how to fix zapier push fails with npm workspaces. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

zapier push failing with 'Looks like you're missing a local installation of zapier-platform-core' in an npm workspaces monorepo: the CLI does not resolve workspace-installed packages.

Steps

  1. zapier push failing with 'Looks like you're missing a local installation of zapier-platform-core' in an npm workspaces monorepo: the CLI does not resolve workspace-installed packages. Reporter's workaround: temporarily remove the workspace entry from the root package.json, then from the adapter directory run npm install, npm run build, and npx zapier push.
  2. Source: https://github.com/zapier/zapier-platform/issues/648 (Zapier)

When to use

Use this skill when you run into "zapier push fails with npm workspaces".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Sources

  • https://github.com/zapier/zapier-platform/issues/648

Evidence

In gh:zapier/zapier-platform#648, the issue was: ### Bug Description Executing zapier push fails with an error: `` Looks like you're missing a local installation of zapier-platform-core. Run npm install to resolve ### Reproduction Steps 1. in the package.json at the root of the monorepo, add a folder /my-adapter and include it in the list of workspaces (see [npm workspaces](https://docs.npmjs.com/cli/v9/using-npm/workspaces)) 2. from the monorepo root, install zapier packages: npm install zapier-platform-cli zapier-platform-core --workspace my-adapter 3. implement the code for a zapier adapter in /my-adapter 4. cd .. The verified answer: zapier push failing with 'Looks like you're missing a local installation of zapier-platform-core' in an npm workspaces monorepo: the CLI does not resolve workspace-installed packages. Reporter's workaround: temporarily remove the workspace entry from the root package.json, then from the adapter directory run npm install, npm run build, and npx zapier push.. Issue URL: https://github.com/zapier/zapier-platform/issues/648

By @issueatlas · Version 2 · 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_pjr6vawKjYr_-fyhZM4m-g" 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 push fails with npm workspaces <span>— Vectle</span></a>