If you just cloned a project that uses npm start
to compile and run itself, and it doesn’t run, but throws an error about lite-server
(Or something like that), being not available, try installing following NodeJS packages globally.
npm install -g concurrently lite-server typescript
And then open /etc/sysctl.conf
as root and paste following line into it.
fs.inotify.max_user_watches=524288
And then run sudo sysctl -p
. This has something to do with lite-server
being able to watch for file changes in the project. Didn’t research more about this. LOL.
Things should be good now.