Title: ng test/build fail after "ng new" with project name "webpack" · Issue #22902 · angular/angular-cli · GitHub
Open Graph Title: ng test/build fail after "ng new" with project name "webpack" · Issue #22902 · angular/angular-cli
X Title: ng test/build fail after "ng new" with project name "webpack" · Issue #22902 · angular/angular-cli
Description: Which @angular/* package(s) are the source of the bug? compiler-cli Is this a regression? No Description After scaffolding a new project with the project name "webpack" commands like ng test and ng build fail. Process: ng new ? What name...
Open Graph Description: Which @angular/* package(s) are the source of the bug? compiler-cli Is this a regression? No Description After scaffolding a new project with the project name "webpack" commands like ng test and ng...
X Description: Which @angular/* package(s) are the source of the bug? compiler-cli Is this a regression? No Description After scaffolding a new project with the project name "webpack" commands like ng t...
Opengraph URL: https://github.com/angular/angular-cli/issues/22902
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ng test/build fail after \"ng new\" with project name \"webpack\" ","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\ncompiler-cli\n\n### Is this a regression?\n\nNo\n\n### Description\n\nAfter scaffolding a new project with the project name \"webpack\" commands like ng test and ng build fail. Process:\r\n\r\nng new\r\n? What name would you like to use for the new workspace and initial project? webpack\r\n? Would you like to add Angular routing? Yes\r\n? Which stylesheet format would you like to use? CSS\n\n### Please provide a link to a minimal reproduction of the bug\n\nnone\n\n### Please provide the exception or error you saw\n\n```true\nng test\r\n✔ Browser application bundle generation complete.\r\n\r\n./src/test.ts:10:8 - Error: Module parse failed: Unexpected token (10:8)\r\nFile was processed with these loaders:\r\n * ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js\r\nYou may need an additional loader to handle the result of these loaders.\r\n| } from '@angular/platform-browser-dynamic/testing';\r\n| \r\n\u003e declare const require: {\r\n| context(path: string, deep?: boolean, filter?: RegExp): {\r\n| \u003cT\u003e(id: string): T;\n```\n\n\n### Please provide the environment you discovered this bug in (run `ng version`)\n\n```true\nAngular CLI: 13.3.0\r\nNode: 16.14.0\r\nPackage Manager: npm 8.5.1\r\nOS: linux x64\r\n\r\nAngular: \r\n... \r\n\r\nPackage Version\r\n------------------------------------------------------\r\n@angular-devkit/architect 0.1303.0\r\n@angular-devkit/core 13.3.0\r\n@angular-devkit/schematics 13.3.0\r\n@schematics/angular 13.3.0\n```\n\n\n### Anything else?\n\n_No response_","author":{"url":"https://github.com/DaveO-Home","@type":"Person","name":"DaveO-Home"},"datePublished":"2022-03-28T14:58:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/22902/angular-cli/issues/22902"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fb871f1f-c049-185c-fe83-dd4f4ac8368d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD00:324D9E:10504A8:1763CC4:6A5F9228 |
| html-safe-nonce | 6bcd74d09595071fbdba406d20cb97689fab9cb964d38a18c38185285fbd55e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDAwOjMyNEQ5RToxMDUwNEE4OjE3NjNDQzQ6NkE1RjkyMjgiLCJ2aXNpdG9yX2lkIjoiMjY4NjI3MDQ3Nzk3NTkxNzA5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 48fbba8eeafcd0c0dabb6e85ee49910ce2cbdadb8af0149938b72332a2dbce8c |
| hovercard-subject-tag | issue:1183595666 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/22902/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6a3bc761d084ccebeb963ed75757f2aa292340eedd34f6cf30102af2cf9825b4/angular/angular-cli/issues/22902 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6a3bc761d084ccebeb963ed75757f2aa292340eedd34f6cf30102af2cf9825b4/angular/angular-cli/issues/22902 |
| og:image:alt | Which @angular/* package(s) are the source of the bug? compiler-cli Is this a regression? No Description After scaffolding a new project with the project name "webpack" commands like ng test and ng... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DaveO-Home |
| hostname | github.com |
| expected-hostname | github.com |
| None | 419b66b5f218029570caa18c30987e7dbabe4f5a6767918b33a504d02739c9c7 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | de5b18aa36dbc0b61e03aeb111e84e90fde499b8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width