I am just starting with wasm and ink.
I have installed the following dependency:
npm install -g @astar-network/swanky-cli
I am trying to compile the contract flipper and I get the following warnings and error:
swanky contract compile flipper
@polkadot/util-crypto has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
cjs 10.2.1 node_modules\@astar-network\swanky-cli\node_modules\@astar-network\swanky-core\node_modules\@polkadot\util-crypto\cjs
cjs 10.2.1 node_modules\@astar-network\swanky-cli\node_modules\@polkadot\keyring\node_modules\@polkadot\util-crypto\cjs
@polkadot/util has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
cjs 10.2.1 node_modules\@astar-network\swanky-cli\node_modules\@polkadot\util\cjs
cjs 10.2.6 node_modules\@astar-network\swanky-cli\node_modules\@polkadot\util-crypto\node_modules\@polkadot\util\cjs
@polkadot/util-crypto has multiple versions, ensure that there is only one installed.
Either remove and explicitly install matching versions or dedupe using your package manager.
The following conflicting packages were found:
cjs 10.2.1 node_modules\@astar-network\swanky-cli\node_modules\@astar-network\swanky-core\node_modules\@polkadot\util-crypto\cjs
cjs 10.2.1 node_modules\@astar-network\swanky-cli\node_modules\@polkadot\keyring\node_modules\@polkadot\util-crypto\cjs
cjs 10.2.6 node_modules\@astar-network\swanky-cli\node_modules\@polkadot\util-crypto\cjs
✖ Error Compiling contract
How do I fix the warnings and the error?