Loopback CLI lb-clean command not found - linux

2.6k Views Asked by At

I have created a loopback 4 application using 'lb4 application_name' command. After running 'npm start', it shows 'lb-clean' command not found error. My node version is 16.13.2 and loopback version is 4.0.0.

1

There are 1 best solutions below

2
Pranav Premarajan On

This error occurs when you try npm start before running npm install because the development dependencies are not installed after creating the app with lb4 command.

  1. Create the app with lb4 application_name.
  2. Run npm i
  3. Run npm start