diff --git a/vtex.env b/vtex.env
index 736d2801d..dff18f293 100644
--- a/vtex.env
+++ b/vtex.env
@@ -7,6 +7,7 @@ GATSBY_QUERY_ON_DEMAND_LOADING_INDICATOR=false
 # Set to false while the WebOps team fixes the Jira's DXWP-279 issue.
 USE_NODE_MODULES_CACHE=false
 USE_GATSBY_CACHE=true
+YARN_INSTALL_OPTIONS=--ignore-optional
 
 # 🐞🐞 Uncomment for debugging final bundle 🐞🐞
 # GATSBY_STORE_PROFILING=true