angular/angular-cli
Documented errors, page 3 of 4. Back to angular/angular-cli
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| [NG HMR] Cannot restore selected options. | console | info | hmr, angular, forms, dom |
| Invalid workspace file - expected JSON object. | exception | error | workspace, json-parse, malformed-config, angular-devkit |
| Old configuration location detected | console | warning | configuration, xdg, migration, angular-cli |
| Path must be absolute. | exception | error | angular-devkit, virtual-fs, path, absolute-path |
| Failed to parse " " as JSON. at offset: . | exception | error | json, parse-error, config, schematics |
| Webpack configuration file | exception | error | webpack, configuration, file-not-found |
| Could not find the main bundle. | exception | error | angular, app-shell, build, bundle, naming |
| Invalid config found at | exception | error | angular-cli, completion, config-validation, schema |
| Package specifier has no effect when using "migrate-only"… | console | warning | update, cli-usage, angular-cli, migrations |
| Received " " header but "trustProxyHeaders" was not set up… | console | warning | security, ssr, headers, proxy |
| Search request failed with status | http | error | network, http, search, angular-cli |
| Unknown package manager | exception | error | schematics, package-manager, tasks, configuration |
| Unknown error occurred inlining file | exception | error | i18n, angular-cli, unknown-error, build |
| Web Worker requires a project type of "application". | exception | error | schematics, web-worker, project-type |
| Expected an object options as second argument. | exception | error | typescript, typeerror, architect, job-registry, wrong-arguments |
| Project target does not exist. | exception | error | angular-cli, architect, workspace, configuration |
| tried to insert as first occurence with no fallback position | exception | error | typescript, ast, schematics, codemod |
| Index outside of range [0, ]. | exception | error | index-out-of-bounds, schematics, recorder, offsets |
| No angular.json found at | exception | error | filesystem, config, angular-workspace, angular-cli |
| NOTICE: Hot Module Replacement (HMR) is enabled for the dev… | console | info | hmr, hot-module-replacement, webpack, dev-server, notice |
| Could not find any routes to prerender. | exception | error | prerender, angular, ssr, config |
| Repository is not clean. Please commit or stash any changes… | validation | error | angular, cli, git, update, precondition |
| The 'commonChunk' option is always enabled by this builder… | console | warning | angular-cli, deprecation, build-options, esbuild |
| The configured package manager | exception | error | angular-cli, package-manager, registry, configuration |
| No "production" configuration found for build target. The… | console | warning | angular, schematics, service-worker, pwa, configuration |
| Rendering failed with | exception | error | prerender, ssg, ssr, build, angular |
| Relative pointer | exception | error | json-pointer, schema, validation |
| The installed Angular CLI version is outdated. Installing a… | console | warning | update, versioning, angular-cli, migration |
| Original tree must be returned from all rules when using… | exception | error | schematics, tree, rule-contract |
| Prerequisite for application shell is to define a… | exception | error | angular, schematics, router, app-shell |
| Package dependency " " already exists with a different… | console | warning | angular, schematics, dependencies, package-json, version-conflict |
| Path " " is a directory. | exception | error | path, directory, wrong-type, schematics |
| The "@angular-devkit/build-angular:dev-server" builder is… | console | warning | angular-cli, deprecation, dev-server, webpack |
| An unexpected error happened; could not determine version… | exception | error | angular-cli, node-modules, version-detection, update |
| `$HOME` environment variable not set. Setting up… | exception | error | environment, home-directory, autocompletion, angular-cli |
| Project name must be a valid npm package name. | validation | error | workspace, naming-validation, npm-package-name, angular-devkit |
| Schematics has invalid name | exception | error | schematics, validation, naming, configuration |
| The "@angular-devkit/build-angular:browser" builder is… | console | warning | angular-cli, deprecation, webpack, migration |
| Access denied: glob pattern | exception | error | security, glob, path-traversal, angular-cli |
| Failed to automatically update types in | console | warning | tsconfig, migration, vitest, manual-intervention |
| Header " " with value " " contains characters that are not… | validation | error | angular, ssr, security, http-headers, host-header-injection |
| Invalid config found at | exception | error | angular-cli, config, json, validation |
| Proxy configuration file | exception | error | angular, dev-server, proxy, missing-file, configuration |
| Unsupported package manager | exception | error | angular-cli, package-manager, configuration, unsupported |
| Failed to decode " " as text. | exception | error | encoding, text-decoding, schematics, recorder |
| Dev server already started. | exception | error | dev-server, mcp, angular-cli, state-conflict |
| i18n options are missing | exception | error | i18n, angular-cli, initialization, state |
| Unable to update custom karma configuration file | console | warning | karma, migration, application-builder, manual-intervention |
| Header "x-forwarded-port" must be a numeric value. | validation | error | angular, ssr, security, proxy, validation |
| Invalid JSON path. | validation | error | angular-cli, config, json-path, parsing |
| No files ending with | exception | error | angular, schematics, no-files-found, testing |
| Unsupported package specifier type | exception | error | package-manager, specifier-parsing, npm |
| Did not find valid 'angular.bestPractices' metadata in | console | warning | mcp, metadata, fallback, angular-cli |
| Failed to look up hash of most recent commit, continuing… | console | warning | git, migration, angular-cli, update |
| Invalid rule result: . | exception | error | schematics, rule, invalid-return-type |
| Invalid format version detected - Expected:[ 1 ] Found | exception | error | workspace, version-mismatch, schema-validation, angular-devkit |
| Invalid source result | exception | error | schematics, source, invalid-return-type |
| The "dev-server" builder requires a target to be specified. | console | error | angular-cli, dev-server, missing-target, configuration |
| No terminal detected | exception | error | tty, ci, interactive, angular-cli |
| Setup completed successfully, but there does not seem to be… | console | warning | angular-cli, completion, global-install, path |
| Target name already exists. | exception | error | workspace, duplicate-name, targets, angular-devkit |
| Bootstrap call not found | exception | error | angular, schematics, bootstrap, standalone |
| Cannot determine project for command. This is a… | exception | error | angular-cli, multi-project, workspace, architect |
| Cannot get context when workflow is not executing... | exception | error | schematics, workflow, lifecycle, angular |
| Incompatible peer dependencies found. See above for… | validation | error | angular, cli, update, peer-dependencies, npm |
| Workspace path does not exist | exception | error | filesystem, invalid-input, path-resolution, angular-workspace |
| Unrecognized arguments. | exception | error | typescript, typeerror, architect, job-registry, unrecognized-arguments |
| Could not find the ' ' builder's node package. | exception | error | angular-cli, architect, node-modules, builder |
| Invalid Path. | validation | error | angular-cli, config, cli-arguments |
| Could not find a non Routing NgModule.\nModules with suffix | exception | error | angular, schematics, cli, ngmodule, routing |
| Expected name to be a string. | exception | error | typescript, typeerror, architect, job-registry, missing-name |
| Invalid peer dependency | console | warning | peer-dependencies, npm-package-arg, validation |
| More than one module matches. Use the '--skip-import'… | exception | error | angular, schematics, cli, ambiguity |
| outputPath for target is not a string. | exception | error | angular, schematics, ssr, angular-json, output-path |
| The "@angular-devkit/build-angular:app-shell" builder is… | console | warning | deprecation, webpack, build, angular |
| Unknown action: " ". | exception | error | schematics, unknown-action, invalid-input |
| Cannot determine project or target. | exception | error | angular, cli, command-line, invalid-argument |
| Cannot find 'options' for | exception | error | angular, schematics, ssr, angular-json, configuration |
| Unable to install packages | exception | error | angular, cli, update, npm, network, package-manager |
| Builder is not a builder | exception | error | angular, architect, builder, esm-exports |
| Option " " is not defined. | exception | error | schematics, template, missing-option, pipes |
| Package is not in package.json. | exception | error | angular-cli, package-json, cli-arguments, update |
| Project is not defined in this workspace. | validation | error | angular, schematics, configuration |
| Could not resolve '@angular/core/package.json' from | console | warning | mcp, module-resolution, angular, best-practices |
| No project name provided and no default project found in… | exception | error | angular, cli, mcp, missing-argument, configuration |
| Only the "application" and "browser-esbuild" builders… | exception | error | angular, dev-server, plugins, esbuild, webpack |
| TestProjectHost must be initialized before being used. | exception | error | angular, architect, testing, virtual-fs, lifecycle |
| Prebundling has been configured but will not be used… | console | warning | angular-cli, dev-server, prebundling, build-options |
| Unknown argument: configuration. Provide the configuration… | exception | error | angular, cli, command-line, deprecated-argument |
| Module option required when creating a lazy loaded routing… | exception | error | angular, schematics, cli-options, routing |
| Need Workflow to support executing schematics as post tasks. | exception | error | schematics, workflow, tasks, architecture |
| This command is not available when running the Angular CLI | exception | error | angular-cli, command-scope, workspace |
| --from requires that only a single package be passed. | validation | error | angular-cli, cli-arguments, migrate-only, validation |
| Invalid Webpack stats configuration. | exception | error | webpack, stats, configuration |
| Cannot use a JavaScript or TypeScript file | exception | error | angular, decorator, validation, template |
| The "@angular-devkit/build-angular:browser-esbuild" builder… | console | warning | deprecation, webpack, esbuild, build |
| Circular builder alias references detected: | exception | error | angular, builder, configuration |
| Confguration file cannot be found. | exception | error | angular-cli, config, workspace, file-not-found |
| Header "x-forwarded-proto" must be either "http" or "https". | validation | error | angular, ssr, security, proxy, validation |
| host value cannot be an array. | exception | error | ssr, http, headers, proxy |