From 53f068ab2cff97f611590b23e22a5ff48154f04e Mon Sep 17 00:00:00 2001 From: Nathan Vander Wilt Date: Mon, 13 Feb 2023 17:42:50 -0800 Subject: [PATCH] workaround for source-map crash on newer node.js while the previous commit reminds devs to `nvm use` the officially-supported version of node.js this dependency workaround helps resolve an unneccessary gatsby crash on newer versions in the future see https://github.com/gatsbyjs/gatsby/issues/35607#issuecomment-1122762324 for background --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index ff99e61d0d..e4d8fe9554 100644 --- a/package.json +++ b/package.json @@ -98,6 +98,9 @@ "prettier": "2.2.1", "tiny-glob": "^0.2.8" }, + "resolutions": { + "source-map": "^0.8.0-beta.0" + }, "license": "MIT", "scripts": { "build": "gatsby build",