AsyncBanana
AsyncBanana
CDCloudflare Developers
Created by AsyncBanana on 7/13/2023 in #pages-help
Cannot install dependencies in monorepo with pnpm using v2 build system
I attempted to move an existing pages app to pnpm workspaces, with one package being the pages website. However, due to npm not supporting pnpm workspaces, the installation process throws an error. This is despite specifying pnpm in engines in package.json. Any ideas for how to be able to make Cloudflare use pnpm for installing dependencies or disabling automatic installation entirely? I am running this on the v2 build system and have an astro build config with the cwd set to the subfolder containing the website.
1 replies