Title: Field 'browser' doesn't contain a valid alias configuration · Issue #8036 · angular/angular-cli · GitHub
Open Graph Title: Field 'browser' doesn't contain a valid alias configuration · Issue #8036 · angular/angular-cli
X Title: Field 'browser' doesn't contain a valid alias configuration · Issue #8036 · angular/angular-cli
Description: The build fails when trying to perform a build involving a requirejs dependency which also requires other files. In this case the following error appears: Field 'browser' doesn't contain a valid alias configuration The error does not occ...
Open Graph Description: The build fails when trying to perform a build involving a requirejs dependency which also requires other files. In this case the following error appears: Field 'browser' doesn't contain a valid al...
X Description: The build fails when trying to perform a build involving a requirejs dependency which also requires other files. In this case the following error appears: Field 'browser' doesn't contai...
Opengraph URL: https://github.com/angular/angular-cli/issues/8036
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Field 'browser' doesn't contain a valid alias configuration","articleBody":"The build fails when trying to perform a build involving a requirejs dependency which also requires other files.\r\n\r\nIn this case the following error appears:\r\nField 'browser' doesn't contain a valid alias configuration\r\n\r\nThe error does not occur if the required file dependency has no dependencies, and it appears to have been introduced after 1.2.6. This affects both jit & aot builds.\r\n\r\n### Bug Report or Feature Request (mark with an `x`)\r\n```\r\n- [ X] bug report -> please search issues before submitting\r\n- [ ] feature request\r\n```\r\n\r\n### Versions.\r\n@angular/cli: 1.4.7\r\nnode: 8.5.0\r\nos: darwin x64\r\n@angular/animations: 4.4.5\r\n@angular/common: 4.4.5\r\n@angular/compiler: 4.4.5\r\n@angular/core: 4.4.5\r\n@angular/forms: 4.4.5\r\n@angular/http: 4.4.5\r\n@angular/platform-browser: 4.4.5\r\n@angular/platform-browser-dynamic: 4.4.5\r\n@angular/router: 4.4.5\r\n@angular/cli: 1.4.7\r\n@angular/compiler-cli: 4.4.5\r\n@angular/language-service: 4.4.5\r\ntypescript: 2.3.4\r\n\r\n\r\n### Repro steps.\r\n\u003c!--\r\nSimple steps to reproduce this bug.\r\nPlease include: commands run, packages added, related code changes.\r\nA link to a sample repo would help too.\r\n-->\r\n[Example Repository](https://github.com/BlindSleuth/cli-module-resolution-example)\r\nUsing 1.2.6 of the cli will build correctly.\r\n\r\n- ng new project\r\n- add requirejs\r\n- add path inside tsconfig\r\n- require a file using the path \r\n\r\nAt this stage the project builds and runs as expected.\r\n\r\nHowever if the required file has other dependencies they will not be resolved and the build breaks.\r\n\r\n### The log given by the failure.\r\n[log.txt](https://github.com/angular/angular-cli/files/1381135/log.txt)\r\n\r\n### Desired functionality.\r\n\u003c!--\r\nWhat would like to see implemented?\r\nWhat is the usecase?\r\n-->\r\nNested modules should resolve correctly.\r\n\r\n### Mention any other details that might be useful.\r\nThe regression was introduced after 1.2.6.\r\nThe example repo was built with cli 1.4.7.\r\n\r\nRelated Issue [Related Issue 7341](https://github.com/angular/angular-cli/issues/7341)\r\n","author":{"url":"https://github.com/mark-holmes","@type":"Person","name":"mark-holmes"},"datePublished":"2017-10-13T01:10:57Z","url":"https://github.com/angular/angular-cli/issues/8036"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:3d687108-d81d-7286-7b4b-348754da76db |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8482:317608:3FC38C3:50ACE5F:6B0211D4 |
| html-safe-nonce | c5a59746da72c036628e6a16c7e97bf0dd7a9dafa1d77b38699b07fd32ffcfd3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDgyOjMxNzYwODozRkMzOEMzOjUwQUNFNUY6NkIwMjExRDQiLCJ2aXNpdG9yX2lkIjoiMzAxMTc4ODk4NzEwODAzNzA3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 052dce8ff338a06453ab6731b74089b428309f7616c41c612d2f2c616df525b0 |
| hovercard-subject-tag | issue:265138831 |
| 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/8036/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2066ae39eff9d2fdb4732e0482710f2735edf8e00bbe946825a1860dd3391649/angular/angular-cli/issues/8036 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2066ae39eff9d2fdb4732e0482710f2735edf8e00bbe946825a1860dd3391649/angular/angular-cli/issues/8036 |
| og:image:alt | The build fails when trying to perform a build involving a requirejs dependency which also requires other files. In this case the following error appears: Field 'browser' doesn't contain a valid al... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mark-holmes |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width