Skip to content

Angular2 error

github logo ・1 min read  

Whenever i run my Angular2 project in node.js coomand line, i receive the following error. Can someone please explain!

Local workspace file ('angular.json') could not be found.
Error: Local workspace file ('angular.json') could not be found.
at WorkspaceLoader._getProjectWorkspaceFilePath (C:\Users\Andrew\AppData\Roaming\npm\node_modules\@angular\cli\models\workspace-loader.js:37:19)

twitter logo DISCUSS (2)
markdown guide

Second Error:

After checking my angular install i receive this info! Whats is the Angular and webpack error saying? Markus

Angular CLI: 6.0.8
Node: 10.4.1
OS: win32 x64
... common, compiler, core, forms, http, platform-browser
... platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.6.8
@angular-devkit/build-angular 0.6.8
@angular-devkit/build-optimizer 0.6.8
@angular-devkit/core 0.6.8
@angular-devkit/schematics 0.6.8 (cli-only)
@ngtools/webpack 6.0.8
@schematics/angular 0.6.8 (cli-only)
@schematics/update 0.6.8 (cli-only)
rxjs 6.2.1 (cli-only)
typescript 2.9.2


Did you try to remove your node_modules folder and running 'npm install' already?

Classic DEV Post from Nov 14 '19

Share your CSS knowledge

Today I learnt about the :placeholder-shown pseudo-selector thanks to Daniel’s Tweet....

Andrew Coleman profile image

Hey there reader...

Do you prefer sans serif over serif?

You can change your font preferences in the "misc" section of your settings. ❀️