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

Closed
Abhilashtiwari0301 opened this issue Mar 24, 2020 · 5 comments
Labels
needs: repro steps We cannot reproduce the issue with the information given

Comments

@Abhilashtiwari0301
Copy link

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
Copy link
Collaborator

Duplicate of microsoft/TypeScript#37525

@Abhilashtiwari0301
Copy link
Author

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
Copy link
Collaborator

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

@alan-agius4 alan-agius4 added the needs: repro steps We cannot reproduce the issue with the information given label Mar 24, 2020
@alan-agius4 alan-agius4 reopened this Mar 24, 2020
@alan-agius4
Copy link
Collaborator

Thanks for reporting this issue. However, you didn't provide sufficient information for us to understand and reproduce the problem. Please check out our submission guidelines to understand why we can't act on issues that are lacking important information.

If the problem persists, please file a new issue and ensure you provide all of the required information when filling out the issue template.

@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 May 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: repro steps We cannot reproduce the issue with the information given
Projects
None yet
Development

No branches or pull requests

2 participants