Angular5 - Error: Local Workspace file ('angular.json') could not be found

Asked

Viewed 4,391 times

0

This error happens when I start the application:

Local Workspace file ('angular.json') could not be found. Error: Local Workspace file ('angular.json') could not be found. At Workspaceloader. _getProjectWorkspaceFilePath (/usr/lib/node_modules/@angular/cli/models/Workspace-Loader.js:37:19) At Workspaceloader.loadWorkspace (/usr/lib/node_modules/@angular/cli/models/Workspace-Loader.js:24:21) at Servecommand. _loadWorkspaceAndArchitect (/usr/lib/node_modules/@angular/cli/models/Architect-command.js:195:32) at Servecommand. (/usr/lib/node_modules/@angular/cli/models/Architect-command.js:47:25) At Generator.next () at /usr/lib/node_modules/@angular/cli/models/Architect-command.js:7:71 at new Promise () at __awaiter (/usr/lib/node_modules/@angular/cli/models/Architect-command.js:3:12) at Servecommand.initialize (/usr/lib/node_modules/@angular/cli/models/Architect-command.js:46:16) at Object. (/usr/lib/node_modules/@angular/cli/models/command-Runner.js:87:23)

Settings:

Angular CLI: 6.0.0
Node: 8.11.1
OS: linux x64
Angular: 4.3.2
... animations, common, Compiler, Compiler-cli, core, Forms
... http, language-service, Platform-browser
... Platform-browser-Dynamic, router, Tsc-Wrapped

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.0
@angular-devkit/build-angular     <error>
@angular-devkit/build-optimizer   <error>
@angular-devkit/core              0.6.0
@angular-devkit/schematics        0.6.0
@angular/cli                      6.0.0
@schematics/angular               0.6.0
@schematics/update                0.6.0
rxjs                              5.4.2
typescript                        2.4.2

1 answer

0


Browser other questions tagged

You are not signed in. Login or sign up in order to post.