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

After Upgrading Angular 9 Getting Karma Error in node_modules , karma - Config.tpl.ts , ERROR in node_modules/karma/config.tpl.ts:13:18. #17293

Open
Abhilashtiwari0301 opened this issue Mar 24, 2020 · 3 comments

Comments

@Abhilashtiwari0301
Copy link

@Abhilashtiwari0301 Abhilashtiwari0301 commented Mar 24, 2020

Hi Everyone,
I am getting below Karma Config file error after upgrading Angular 9 ,

ERROR in node_modules/karma/config.tpl.ts:13:18 - error TS1109: Expression expected.
frameworks: [%FRAMEWORKS%],
node_modules/karma/config.tpl.ts:13:30 - error TS1109: Expression expected.
frameworks: [%FRAMEWORKS%],
node_modules/karma/config.tpl.ts:17:13 - error TS1109: Expression expected.
files: [%FILES%
node_modules/karma/config.tpl.ts:18:5 - error TS1109: Expression expected.
node_modules/karma/config.tpl.ts:22:15 - error TS1109: Expression expected.

Package.json

"devDependencies": {
"@angular-devkit/build-angular": "~0.900.7",
"@angular/cli": "~9.0.7",
"@angular/compiler-cli": "~9.0.7",
"@angular/language-service": "~9.0.7",
"@types/jasmine": "^3.0.0",
"@types/jasminewd2": "^2.0.0",
"@types/node": "~8.9.4",
"codelyzer": "^5.1.2",
"jasmine-core": "^3.0.0",
"jasmine-spec-reporter": "~4.2.1",
"karma": "^4.0.0",
"karma-chrome-launcher": "^3.0.0",
"karma-cli": "^2.0.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-html-reporter": "^0.2.7",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-junit-reporter": "^1.2.0",
"node-sass": "^4.13.1",
"protractor": "^5.4.3",
"ts-node": "~7.0.0",
"tslint": "~6.1.0",
"typescript": "^3.6.4"
}

@alan-agius4

This comment has been minimized.

Copy link
Collaborator

@alan-agius4 alan-agius4 commented Mar 24, 2020

@alan-agius4 alan-agius4 marked this as a duplicate of microsoft/TypeScript#37525 Mar 24, 2020
@Abhilashtiwari0301

This comment has been minimized.

Copy link
Author

@Abhilashtiwari0301 Abhilashtiwari0301 commented Mar 24, 2020

Hi @alan-agius4 :- @DanielRosenwasser asked me to raise this issue in angular platform because this seems not typescript issue. can you please help.

@alan-agius4

This comment has been minimized.

Copy link
Collaborator

@alan-agius4 alan-agius4 commented Mar 24, 2020

Can you please a reproduction? This is not reproducible in an ng new app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.