I have an angular program and when I go to cmd and try to run it with ng serve, it gives me this message.
I tried to solve it in some ways i found on stack overflow but none of them work
It showed me this error:
Local workspace file ('angular.json') could not be found. Error: Local workspace file ('angular.json') could not be found. at WorkspaceLoader._getProjectWorkspaceFilePath (C:\Users\omerb\AppData\Roaming\npm\node_modules\@angular\cli\models\workspace-loader.js:37:19) at WorkspaceLoader.loadWorkspace (C:\Users\omerb\AppData\Roaming\npm\node_modules\@angular\cli\models\workspace-loader.js:24:21) at ServeCommand._loadWorkspaceAndArchitect (C:\Users\omerb\AppData\Roaming\npm\node_modules\@angular\cli\models\architect-command.js:180:32) at ServeCommand. (C:\Users\omerb\AppData\Roaming\npm\node_modules\@angular\cli\models\architect-command.js:47:25) at Generator.next () at C:\Users\omerb\AppData\Roaming\npm\node_modules\@angular\cli\models\architect-command.js:7:71 at new Promise () at __awaiter (C:\Users\omerb\AppData\Roaming\npm\node_modules\@angular\cli\models\architect-command.js:3:12) at ServeCommand.initialize (C:\Users\omerb\AppData\Roaming\npm\node_modules\@angular\cli\models\architect-command.js:46:16) at Object. (C:\Users\omerb\AppData\Roaming\npm\node_modules\@angular\cli\models\command-runner.js:87:23)