From a52b4177a9b62bb6e4802e9bee44516320b21a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Wed, 16 Feb 2022 20:23:44 +0100 Subject: [PATCH] storebytecode: Init the current dir as a package before installing npm packages - Does not work on npm 5 without it. --- scripts/bytecodecompare/storebytecode.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/bytecodecompare/storebytecode.sh b/scripts/bytecodecompare/storebytecode.sh index 6efa94def..fbbe03457 100755 --- a/scripts/bytecodecompare/storebytecode.sh +++ b/scripts/bytecodecompare/storebytecode.sh @@ -55,6 +55,7 @@ TMPDIR=$(mktemp -d -t storebytecode_XXXXXX) popd cp "${SCRIPT_DIR}/prepare_report.js" . + npm init --yes npm install ./solc-js/dist echo "Running the compiler..."