Closed idea404 closed 2 years ago
Describe the bug Upgrading the CLI from v3.2.0 to v3.3.1 is not possible due to a dependency with sandbox which throws an exception for Windows OS.
sandbox
To Reproduce Steps to reproduce the behavior: Run yarn add near-cli from a Windows shell using near-cli v3.2.0 (or presumably also earlier versions)
yarn add near-cli
Expected behavior an error prompt:
... error C:\...\Code\NEAR\my-new-app\node_modules\near-sandbox: Command failed. Exit code: 1 Command: node ./install.js Arguments: Directory: C:\...\Code\NEAR\my-new-app\node_modules\near-sandbox Output: C:\...\NEAR\my-new-app\node_modules\near-sandbox\dist\getBinary.js:13 throw new Error(`Unsupported platform: $ {type} $ {arch} `); ^ Error: Unsupported platform: Windows_NT x64 ....
Screenshots Seen above in code excerpt.
Desktop (please complete the following information):
upgrading version still possible with npm install -g near-cli@3.3.1
npm install -g near-cli@3.3.1
Describe the bug Upgrading the CLI from v3.2.0 to v3.3.1 is not possible due to a dependency with
sandbox
which throws an exception for Windows OS.To Reproduce Steps to reproduce the behavior: Run
yarn add near-cli
from a Windows shell using near-cli v3.2.0 (or presumably also earlier versions)Expected behavior an error prompt:
Screenshots Seen above in code excerpt.
Desktop (please complete the following information):