Quick note: if you want to use pnpm in your Netlify deploy, you can’t point npm at / to disable it . After the next time you clear your cache, it will try to install the modules and fail because of insufficient permissions. Rather, you need to use --prefix /dev/null .