Cannot resolve directory '~bootstrap'

I did npm install in terminal. I downloaded bootstrap. Currently, the codes I wrote over styles.css do not work.

@import "~bootstrap/dist/css/bootstrap.min.css";
@import "~font-awesome/css/font-awesome.min.css"; 

The errors I got after these codes:

enter image description here

npm audit fix --force 

I tried this method but it didn't work

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum