From 912941be1d42d19a0a8b5ded73b35deee8e05718 Mon Sep 17 00:00:00 2001 From: Oleksii Trekhleb Date: Wed, 21 Apr 2021 17:30:49 +0200 Subject: [PATCH] Add troubleshooting instructions. --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 71b0798f..a9fc7b5e 100644 --- a/README.md +++ b/README.md @@ -236,6 +236,7 @@ tree is being used. ## How to use this repository **Install all dependencies** + ``` npm install ``` @@ -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