#Error when starting project

17 messages ยท Page 1 of 1 (latest)

flat leaf
#

When I start my angular project I am stuck at blank page. (not auto redirected to https://localhost:4200/)
when closing the browser. the error about debbuger adapter appears.

I cant find a solution to this issue by searching google. Has anyone encountered this? How do i fix it?

pearl scarab
#

g!codeblock @flat leaf What is the complete output of ng version? Please copy the text and paste the text here in a code block as shown ๐Ÿ‘‡

crude walrusBOT
#

@flat leaf, you can use the following snippet to have your code formatted and colored by Discord. Replace ts with the language you need (i.e. html, js, css, etc)
```ts
// your code goes here
```

flat leaf
#

ng serve is ran automatically when i start the project. I couldnt fit the output in a single message, so that is why it is in a txt-file.

pearl scarab
#

I asked for ng version ๐Ÿ™‚

#

These are concerning: node_modules_scania_components_dist_esm_sdds

flat leaf
#
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
                                                                                                                        Try the new cross-platform PowerShell https://aka.ms/pscore6                                                                                                                                                                                    PS C:\Users\jko6au\source\repos\SesammTool\SesammToolAngular> ng version                                                Your global Angular CLI version (14.2.9) is greater than your local version (14.2.7). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / โ–ณ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/


Angular CLI: 14.2.7
Node: 16.18.0
Package Manager: npm 8.19.2
OS: win32 x64

Angular: 14.2.8
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1402.7
@angular-devkit/build-angular   14.2.7
@angular-devkit/core            14.2.7
@angular-devkit/schematics      14.2.7
@angular/cli                    14.2.7
@schematics/angular             14.2.7
rxjs                            7.5.7
typescript                      4.7.4
pearl scarab
#

Run ng build and see if it reports any Errors or Warnings

flat leaf
#
ng build
Your global Angular CLI version (14.2.9) is greater than your local version (14.2.7). The local Angular CLI version is used.

To disable this warning use "ng config -g cli.warnings.versionMismatch false".
โˆš Browser application bundle generation complete.
โˆš Copying assets complete.
โˆš Index html generation complete.

pearl scarab
#

That doesn't look like the complete output

flat leaf
#

Indeed, I only included the warning.

pearl scarab
#

all those lazy loaded packages seem bad

flat leaf
#

hmm ok, any suggestions how to proceed?

pearl scarab
#

Did the project ever work? What happened (changed) right before it broke?

flat leaf
#

This is as much as i can explain as i am a beginner:

We are a team working on developping a webbapp, we are all new at angular. Wednesday last week everyone in the team suddenly encountered this error. We do not know what triggered it as noone seems to be able to find a correlating cause to it. We are still able to work on the webapplication but the angular debugger is broken. We do get an output when closing the error message that i forgot to paste.