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.
Asked
Active
Viewed 2,024 times
1 Answers
9
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.
- Create the app with lb4 application_name.
- Run npm i
- Run npm start

Pranav Premarajan
- 301
- 2
- 6
-
It would be nice if they put this in the documentation, hey it would be nice if one could make a pull request to change the documentation... – scott May 19 '22 at 07:55
-
pull request is https://github.com/loopbackio/loopback-next/pull/9297 – Heiko Lübbe Aug 09 '23 at 16:07