From 9e6659e842f9c134dfd39b66f16793d24b0e0409 Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Fri, 17 Sep 2021 14:11:30 +0530 Subject: [PATCH] fix: netlify builds --- netlify.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netlify.toml b/netlify.toml index 6e4b39967..f672c944d 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,8 +1,8 @@ [build] base = "/" publish = "packages/hoppscotch-app/dist" - command = "pnpm run generate" - environment = { NODE_VERSION = "14" } + command = "npx pnpm install --store=node_modules/.pnpm-store && pnpm run generate" + environment = { NODE_VERSION = "14", NPM_FLAGS = "--version" } [[redirects]] from = "/discord"