Support "engines" for pnpm
P
Pierrick Bignet
Let us chose which version of pnpm we would like to use by specifying it in package.json like for node.
Log In
d
delm.services
I tried to add
pnpm
to engines
in package.json
but it did not work.P
Pierrick Bignet
It seems that for now render does not respect the provided "PNPM_VERSION" environment variable, at least for static sites.
For node services my repo works because render does not try to install automatically my deps, and I install them using
npx pnpm@v6.32.21 i
But for a static site render tries to install the deps by itself and it fails. For now I'm using
SKIP_INSTALL_DEPS
to install the deps manually, but that would be more convenient to have support for PNPM_VERSION
or engines.