Skip to content

Commit

Permalink
Added CHECKPOINT_DISABLE=1 to Wasp CLI to prevent Prisma errors (#2089)
Browse files Browse the repository at this point in the history
* Update Main.hs

* fix
  • Loading branch information
Martinsos authored Jun 10, 2024
1 parent 3679ab6 commit ea0a0d9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion waspc/cli/exe/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,13 @@ setDefaultCliEnvVars = do
mapM_ (uncurry Env.setEnv) cliEnvVars
where
cliEnvVars :: [(String, String)]
cliEnvVars = [("PRISMA_HIDE_UPDATE_MESSAGE", "true")]
cliEnvVars =
[ ("PRISMA_HIDE_UPDATE_MESSAGE", "true"),
-- NOTE: We were getting errors from Prisma v4 related to their Checkpoint system
-- (which checks for updates that we don't want anyway), so now by default
-- we turn it off. Once we switch to Prisma v5, try removing this.
("CHECKPOINT_DISABLE", "1")
]

{- ORMOLU_DISABLE -}
printUsage :: IO ()
Expand Down

0 comments on commit ea0a0d9

Please sign in to comment.