Skip to content

Commit

Permalink
Add troubleshooting instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
trekhleb committed Apr 21, 2021
1 parent 4ca41ea commit 912941b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ tree is being used.
## How to use this repository

**Install all dependencies**

```
npm install
```
Expand All @@ -249,15 +250,26 @@ npm run lint
```

**Run all tests**

```
npm test
```

**Run tests by name**

```
npm test -- 'LinkedList'
```

**Troubleshooting**

In case if linting or testing is failing try to delete the `node_modules` folder and re-install npm packages:

```
rm -rf ./node_modules
npm i
```

**Playground**

You may play with data-structures and algorithms in `./src/playground/playground.js` file and write
Expand Down

0 comments on commit 912941b

Please sign in to comment.