16.2.2022 |

NX Monorepo - Error: ENOENT: no such file or directory

After moving a model (class or interface) from project to lib there is an error with npm start (and with other commands most probably as well) "Error: ENOENT: no such file or directory {{old location of the file}}".

grafik

Fix this/Workaround

  • Try git stash and git stash pop
Dennis Hundertmark
Zur Übersicht

Mehr vom DevSquad...

Jörg Herbst

30 Java Interview Questions

Sven Röttering

Mediator Pattern