Quantcast
Viewing latest article 30
Browse Latest Browse All 38

Answer by learning... for ENOENT: no such file or directory, lstat '/Users/Desktop/node_modules'

I got into this issue after installing ngx-bootstrap

> ng add ngx-bootstrap

Following went in angular.json

"styles": ["./dist/ngx-bootstrap/datepicker/bs-datepicker.css","./node_modules/bootstrap/dist/css/bootstrap.min.css","src/styles.css"]

Changed to following and error got fixed

"styles": ["node_modules/ngx-bootstrap/datepicker/bs-datepicker.css","node_modules/bootstrap/dist/css/bootstrap.min.css","src/styles.css"]

Viewing latest article 30
Browse Latest Browse All 38

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>