Skip to content

Commit a1a73ba

Browse files
authored
chore: pin the npm version used in the repo (#66)
* Use mise for npm version * .
1 parent 8678676 commit a1a73ba

File tree

3 files changed

+55
-139
lines changed

3 files changed

+55
-139
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,28 @@ A CLI to interact with the Internet Computer App on Ledger Nano S/X devices.
1111

1212
## Quick Start
1313

14-
- Install `node >= 18.13.0`.
1514
- Install the CLI: `npm install -g @dfinity/hardware-wallet-cli`
1615
- Run the CLI: `ic-hardware-wallet --help`
1716

18-
## USB connection issues with Ledger Live
19-
20-
In order to install the Internet Computer App on your Ledger device or perform
21-
the genuine check, you need to first connect your Ledger device with the Ledger
22-
Live desktop app running on your computer. If you are facing connection issues
23-
when doing so, Ledger provides platform-specific
24-
[troubleshooting instructions](https://support.ledger.com/hc/en-us/articles/115005165269-Fix-USB-connection-issues-with-Ledger-Live?support=true)
25-
on their support site.
26-
2717
## Development
2818

29-
Clone the repository.
30-
31-
Install dependencies with `npm install`.
19+
- Clone the repository.
20+
- Run `mise install` to install the supported version of `npm`.
21+
- If you don't have mise install, you can install it with `curl https://mise.run | sh`
22+
- Install dependencies with `npm install`.
3223

3324
To execute a command, you can use `npm run execute -- <args>`.
3425

3526
For example
3627

3728
- The command `ic-hardware-wallet --network https://nnsdapp.dfinity.network icp balance`.
3829
- Would be `npm run execute -- --network http://127.0.0.1:4943 icp balance` for development.
30+
31+
## USB connection issues with Ledger Live
32+
33+
In order to install the Internet Computer App on your Ledger device or perform
34+
the genuine check, you need to first connect your Ledger device with the Ledger
35+
Live desktop app running on your computer. If you are facing connection issues
36+
when doing so, Ledger provides platform-specific
37+
[troubleshooting instructions](https://support.ledger.com/hc/en-us/articles/115005165269-Fix-USB-connection-issues-with-Ledger-Live?support=true)
38+
on their support site.

mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[tools]
2+
npm = "11.6.2"

0 commit comments

Comments
 (0)