Open CaolanMcB96 opened 6 years ago
try to do a fresh clone, npm install and npm start...that worked for me
@CaolanMcB96 you need to CD into the Angular/src and run npm install to install the Angular and dependencies. The backend is the root project and you do npm install from that folder also. Running ng new is only used for a new project.
When trying to server my angular application i get the following error.
ERROR in multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts Module not found: Error: Can't resolve 'webpack-dev-server/client?http://0.0.0.0:0' in 'C:\Users\Caolan\FingerprintProject\angular-src' ERROR in Error: No NgModule metadata found for 'AppModule'. at NgModuleResolver.resolve (C:\Users\Caolan\FingerprintProject\angular-src\node_modules\@angular\compiler\bundles\compiler.umd.js:20285:23) at CompileMetadataResolver.getNgModuleMetadata (C:\Users\Caolan\FingerprintProject\angular-src\node_modules\@angular\compiler\bundles\compiler.umd.js:15238:60) at visitLazyRoute (C:\Users\Caolan\FingerprintProject\angular-src\node_modules\@angular\compiler\bundles\compiler.umd.js:31176:104) at AotCompiler.listLazyRoutes (C:\Users\Caolan\FingerprintProject\angular-src\node_modules\@angular\compiler\bundles\compiler.umd.js:31144:20) at AngularCompilerProgram.listLazyRoutes (C:\Users\Caolan\FingerprintProject\angular-src\node_modules\@angular\compiler-cli\src\transformers\program.js:156:30) at Function.NgTools_InternalApi_NG_2.listLazyRoutes (C:\Users\Caolan\FingerprintProject\angular-src\node_modules\@angular\compiler-cli\src\ngtools_api.js:44:36) at AngularCompilerPlugin._getLazyRoutesFromNgtools (C:\Users\Caolan\FingerprintProject\angular-src\node_modules\@angular\cli\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:263:66) at Promise.resolve.then.then (C:\Users\Caolan\FingerprintProject\angular-src\node_modules\@angular\cli\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:586:50) at
at process._tickCallback (internal/process/next_tick.js:188:7)
-->
Versions