From 7154f5b6fa725738bd21f08ce7c4852871f8dd4a Mon Sep 17 00:00:00 2001 From: "Hung-Han (Henry) Chen" <1474479+chenhunghan@users.noreply.github.com> Date: Thu, 3 Dec 2020 16:19:37 +0800 Subject: [PATCH] Pin @babel/runtime at v7.12.5 avoid 'Module not found' errors Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com> --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index c61b43ea0c..1d1dd37b44 100644 --- a/package.json +++ b/package.json @@ -348,5 +348,11 @@ "what-input": "^5.2.10", "xterm": "^4.6.0", "xterm-addon-fit": "^0.4.0" + }, + "resolutions": { + "/": "this is a hack to resolve webpack5 'Module not found' errors", + "//": "we can remove this if upgrade materail-ui to a version use @babel/runtime 7.12.5+", + "///": "see ", + "@babel/runtime": "^7.12.5" } }