Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on ng serve angular v12 #20791

Closed
doctordldh opened this issue May 14, 2021 · 2 comments
Closed

error on ng serve angular v12 #20791

doctordldh opened this issue May 14, 2021 · 2 comments

Comments

@doctordldh
Copy link

Bug Report

Affected Package

@angular/cli

Is this a regression?

No

Description

I upgraded from angular 11 to angular 12.
When I run the below common
node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng serve

the is error show below without any clue...

Exception or Error



Warning: C:/Users/kokke/Documents/HLY/HLYUX/src/app/services/speech-synthesizer.service.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/Users/kokke/Documents/HLY/HLYUX/src/app/services/style-manager.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/Users/kokke/Documents/HLY/HLYUX/src/environments/environment.hmr.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

Warning: C:/Users/kokke/Documents/HLY/HLYUX/src/environments/environment.prod.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.



Error: undefined:5:112729: property missing ':'

Your Environment

Angular Version:


Angular CLI: 12.0.0
Node: 14.16.1
Package Manager: npm 6.14.12
OS: win32 x64

Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1200.0 (cli-only)
@angular-devkit/core         12.0.0 (cli-only)
@angular-devkit/schematics   12.0.0 (cli-only)
@schematics/angular          12.0.0 (cli-only)

Anything else relevant?
my package.json is below
"dependencies": {
"@agm/core": "1.1.0",
"@angular/animations": "12.0.0",
"@angular/cdk": "12.0.0",
"@angular/common": "12.0.0",
"@angular/compiler": "12.0.0",
"@angular/core": "12.0.0",
"@angular/flex-layout": "11.0.0-beta.33",
"@angular/forms": "12.0.0",
"@angular/localize": "12.0.0",
"@angular/material": "12.0.0",
"@angular/material-moment-adapter": "12.0.0",
"@angular/platform-browser": "12.0.0",
"@angular/platform-browser-dynamic": "12.0.0",
"@angular/router": "12.0.0",
"@angular/youtube-player": "12.0.0",
"@aspnet/signalr": "3.0.0-preview6.19307.2",
"@devexpress/analytics-core": "20.2.7",
"@ngrx/effects": "12.0.0",
"@ngrx/router-store": "12.0.0",
"@ngrx/store": "12.0.0",
"@ngrx/store-devtools": "12.0.0",
"@ngx-translate/core": "13.0.0",
"@ngx-translate/http-loader": "6.0.0",
"@swimlane/ngx-datatable": "19.0.0",
"@syncfusion/ej2": "19.1.63",
"@syncfusion/ej2-angular-diagrams": "19.1.63",
"@syncfusion/ej2-angular-documenteditor": "19.1.63",
"@syncfusion/ej2-angular-dropdowns": "19.1.63",
"@syncfusion/ej2-angular-kanban": "19.1.63",
"@syncfusion/ej2-angular-layouts": "19.1.63",
"@syncfusion/ej2-angular-navigations": "19.1.63",
"@syncfusion/ej2-angular-pdfviewer": "19.1.63",
"@syncfusion/ej2-angular-richtexteditor": "19.1.63",
"@syncfusion/ej2-angular-schedule": "19.1.63",
"@syncfusion/ej2-pdf-export": "19.1.63",
"@types/prismjs": "1.16.5",
"agm-direction": "0.8.9",
"angular-mentions": "1.3.0",
"angular2-signaturepad": "3.0.4",
"angular2-text-mask": "9.0.0",
"classlist.js": "1.1.20150312",
"core-js": "3.12.1",
"devexpress-reporting": "20.2.7",
"devexpress-reporting-angular": "20.2.7",
"devextreme": "20.2.7",
"devextreme-angular": "20.2.7",
"file-saver-es": "2.0.5",
"guid-typescript": "1.0.9",
"hammerjs": "2.0.8",
"html2canvas": "1.0.0-rc.7",
"jquery-ui": "1.12.1",
"jwt-decode": "3.1.2",
"lodash": "4.17.21",
"math-expression-evaluator": "1.3.7",
"moment": "2.29.1",
"ng-keyboard-shortcuts": "10.1.17",
"ngx-auto-unsubscribe": "3.0.1",
"ngx-color-picker": "11.0.0",
"ngx-cookie-service": "11.0.2",
"ngx-json-viewer": "3.0.2",
"ngx-webcam": "0.3.2",
"perfect-scrollbar": "1.5.1",
"prismjs": "1.23.0",
"quagga": "0.12.1",
"rxjs": "6.6.7",
"stream": "0.0.2",
"web-animations-js": "2.3.2",
"zone.js": "0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "12.0.0",
"@angular/cli": "12.0.0",
"@angular/compiler-cli": "12.0.0",
"@angular/language-service": "12.0.0",
"@angularclass/hmr": "3.0.0",
"@types/googlemaps": "3.43.3",
"@types/jasmine": "3.7.4",
"@types/jasminewd2": "2.0.9",
"@types/jwt-decode": "2.2.1",
"@types/lodash": "4.14.169",
"@types/node": "15.0.3",
"codelyzer": "6.0.2",
"jasmine-core": "3.7.1",
"jasmine-spec-reporter": "7.0.0",
"karma": "6.3.2",
"karma-chrome-launcher": "3.1.0",
"karma-coverage-istanbul-reporter": "3.0.3",
"karma-jasmine": "4.0.1",
"karma-jasmine-html-reporter": "1.6.0",
"protractor": "7.0.0",
"ts-node": "9.1.1",
"tslib": "2.2.0",
"typescript": "4.2.4",
"webpack-bundle-analyzer": "4.4.1"
}

@JoostK JoostK transferred this issue from angular/angular May 14, 2021
@JoostK
Copy link
Member

JoostK commented May 14, 2021

Duplicate of #20760.

@JoostK JoostK closed this as completed May 14, 2021
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jun 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants