From 854011b7f7053c24bd37a3ac23e503152e74a085 Mon Sep 17 00:00:00 2001 From: Antonio Date: Thu, 30 May 2024 15:48:15 +0100 Subject: [PATCH] fix: adds NPM warning (#95) # What :computer: * Adds warning for installing deps with NPM # Why :hand: * NPM unable to properly resolve deps. * Fix DEVRL-702 and DEVRL-622 # Evidence :camera: Include screenshots, screen recordings, or `console` output here demonstrating that your changes work as intended --- .../_beacon/_hardhat_beacon_contract_upgradability.md | 4 ++++ .../_hardhat_transparent_contract_upgradability.md | 4 +++- .../_upgrading/_uups/_hardhat_uups_contract_upgradability.md | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/content/00.build/10.zksync-101/_upgrading/_beacon/_hardhat_beacon_contract_upgradability.md b/content/00.build/10.zksync-101/_upgrading/_beacon/_hardhat_beacon_contract_upgradability.md index 8adcf882..e2c41851 100644 --- a/content/00.build/10.zksync-101/_upgrading/_beacon/_hardhat_beacon_contract_upgradability.md +++ b/content/00.build/10.zksync-101/_upgrading/_beacon/_hardhat_beacon_contract_upgradability.md @@ -9,6 +9,10 @@ npx zksync-cli@latest create --template qs-upgrade contract-upgrade-quickstart cd contract-upgrade-quickstart ``` +::callout{icon="i-heroicons-exclamation-triangle" color="amber"} +If you encounter an error while installing project dependencies using NPM as your package manager, try running `npm install --force`. +:: + ## Set up your wallet :display-partial{path = "/build/zksync-101/_partials/_setup-wallet"} diff --git a/content/00.build/10.zksync-101/_upgrading/_transparent/_hardhat_transparent_contract_upgradability.md b/content/00.build/10.zksync-101/_upgrading/_transparent/_hardhat_transparent_contract_upgradability.md index 19b90e18..8afd1da1 100644 --- a/content/00.build/10.zksync-101/_upgrading/_transparent/_hardhat_transparent_contract_upgradability.md +++ b/content/00.build/10.zksync-101/_upgrading/_transparent/_hardhat_transparent_contract_upgradability.md @@ -8,7 +8,9 @@ npx zksync-cli@latest create --template qs-upgrade contract-upgrade-quickstart cd contract-upgrade-quickstart ``` ---- +::callout{icon="i-heroicons-exclamation-triangle" color="amber"} +If you encounter an error while installing project dependencies using NPM as your package manager, try running `npm install --force`. +:: ## Set up your wallet diff --git a/content/00.build/10.zksync-101/_upgrading/_uups/_hardhat_uups_contract_upgradability.md b/content/00.build/10.zksync-101/_upgrading/_uups/_hardhat_uups_contract_upgradability.md index 302d3800..20dc6313 100644 --- a/content/00.build/10.zksync-101/_upgrading/_uups/_hardhat_uups_contract_upgradability.md +++ b/content/00.build/10.zksync-101/_upgrading/_uups/_hardhat_uups_contract_upgradability.md @@ -9,6 +9,10 @@ npx zksync-cli@latest create --template qs-upgrade contract-upgrade-quickstart cd contract-upgrade-quickstart ``` +::callout{icon="i-heroicons-exclamation-triangle" color="amber"} +If you encounter an error while installing project dependencies using NPM as your package manager, try running `npm install --force`. +:: + ## Set up your wallet :display-partial{path="build/zksync-101/_partials/_setup-wallet"}