profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/clydin/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.

angular/angular-cli 24601

CLI tool for Angular

bazelbuild/rules_nodejs 522

JavaScript and NodeJS rules for Bazel

clydin/angular-cli 4

CLI tool for Angular

clydin/angular 0

One framework. Mobile & desktop.

clydin/angularfire 0

The official Angular library for Firebase.

clydin/codelyzer 0

Static analysis for Angular projects.

clydin/copy-webpack-plugin 0

Copy files and directories in webpack

clydin/dev-infra 0

Angular Development Infrastructure

clydin/extract-text-webpack-plugin 0

Extract text from bundle into a file.

issue commentangular/angular-cli

--deploy-url will have no effect on the HTML

Also guys, someone tried this with angular-universal? If I use: --deploy-url /myPath/ I'm receiving this erros in node... Unable to locate stylesheet: /var/www/html/dist/browser/**myPath**/styles.16d89a3cd69123f2ba9c.css

Also the url set to the assets seems to be wrong..

Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.

yordis

comment created time in 2 hours

issue commentangular/angular-cli

Found: @angular/cdk@undefined

Can you please run npm ls @angular/cdk?

seb-mtl

comment created time in 4 hours

issue commentangular/angular-cli

Build process hook

Another use case for pre-build script is a replacement for fileReplacements. Prior to Angular 11 components could be built with configuration dependent templates. The removal blocks the upgrade path from 10 to 11. See https://github.com/angular/angular-cli/issues/19390#issuecomment-745283960, for example. I have not found a workaround

fabienbranchel

comment created time in 4 hours

push eventangular/angular-cli

Renovate Bot

commit sha ddd2c9f6716c69e7ccd896b6b98451b90e376249

build: update all non-major dependencies

view details

Renovate Bot

commit sha 43d3d367bc3340a4b4850c6ee0e63c4348f6dbcc

build: update angular to 0c540ea

view details

push time in 4 hours

issue openedangular/angular-cli

Found: @angular/cdk@undefined

๐Ÿž Bug report

I am updating to angular 11.2.14 and receive the following error.

๐Ÿ”ฅ Exception or Error

npm ERR! Found: @angular/cdk@undefined
npm ERR! node_modules/@angular/cdk
npm ERR!   dev @angular/cdk@"^11.2.14" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/cdk@"^11.0.0" from @angular/flex-layout@11.0.0-beta.33
npm ERR! node_modules/@angular/flex-layout
npm ERR!   dev @angular/flex-layout@"11.0.0-beta.33" from the root project

The error was reported once in #10167 but was closed due to the lack of feedback.

Is this a regression?

Yes, the previous version in which this bug was not present was: 11.1.0

Description

Content of package.json:

    "@angular-builders/custom-webpack": "11.2.14",
    "@angular-devkit/build-angular": "11.2.14",
    "@angular/animations": "11.2.14",
    "@angular/cdk": "^11.2.14",
    "@angular/cli": "11.2.14",
    "@angular/common": "11.2.14",
    "@angular/compiler": "11.2.14",
    "@angular/compiler-cli": "11.2.14",
    "@angular/core": "11.2.14",
    "@angular/flex-layout": "11.0.0-beta.33",
    "@angular/forms": "11.2.14",
    "@angular/language-service": "11.2.14",
    "@angular/material": "11.2.14",
    "@angular/platform-browser": "11.2.14",
    "@angular/platform-browser-dynamic": "11.2.14",
    "@angular/router": "11.2.14",

๐ŸŒ Your Environment

<pre><code> Angular CLI: 12.0.4 Node: 16.2.0 Package Manager: npm 7.15.0 OS: darwin arm64

Angular: <error> ... animations, cdk, common, compiler, compiler-cli, core ... flex-layout, forms, language-service, material ... platform-browser, platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.1200.4 (cli-only) @angular-devkit/build-angular <error> @angular-devkit/core 12.0.4 (cli-only) @angular-devkit/schematics 12.0.4 (cli-only) @angular/cli 12.0.4 (cli-only) @schematics/angular 12.0.4 (cli-only) rxjs 6.6.7 (cli-only) typescript <error> webpack <error> </code></pre>

created time in 5 hours

issue commentangular/angular-cli

ng update fails behind proxy but npm works

Following up, I was able to rename my .npmrc and do the upgrade with the connection to normal npm registry. I opened a ticket with the team in charge of artifactory at my company because previously I was able to do upgrades with no issue.

plecos

comment created time in 5 hours

issue commentangular/angular-cli

i18n-locale should inject dir attribute

It would be great to have this in place, or some clarification on what's the best approach to serve an index.html that can have different dir attribute values.

ghost

comment created time in 6 hours

issue closedangular/angular-cli

HookWebpackError: ENOENT: no such file or directory, scandir at makeWebpackError \node_modules\webpack\lib\HookWebpackError.js

"dependencies": {
    "@angular/animations": "12.0.2",
    "@angular/cdk": "12.0.2",
    "@angular/common": "12.0.2",
    "@angular/compiler": "12.0.2",
    "@angular/core": "12.0.2",
    "@angular/forms": "12.0.2",
    "@angular/platform-browser": "12.0.2",
    "@angular/platform-browser-dynamic": "12.0.2",
    "@angular/platform-server": "12.0.2",
    "@angular/router": "12.0.2",
    "@auth0/angular-jwt": "5.0.2",
....
...
 },
  "devDependencies": {
    "@angular-devkit/build-angular": "12.0.2",
    "@angular-eslint/builder": "12.1.0",
    "@angular-eslint/eslint-plugin": "12.1.0",
    "@angular-eslint/eslint-plugin-template": "12.1.0",
    "@angular-eslint/schematics": "12.1.0",
    "@angular-eslint/template-parser": "12.1.0",
    "@angular/cli": "12.0.2",
    "@angular/compiler-cli": "12.0.2",
    "@angular/language-service": "12.0.2",
    "@types/node": "15.0.2",
    "@typescript-eslint/eslint-plugin": "4.26.0",
    "@typescript-eslint/parser": "4.26.0",
    "eslint": "7.28.0",
    "eslint-plugin-import": "2.23.4",
    "eslint-plugin-jsdoc": "35.1.3",
    "eslint-plugin-prefer-arrow": "1.2.3",
    "ts-node": "9.1.1",
    "typescript": "4.0.7",
    "webpack-bundle-analyzer": "4.4.2"
  }

โ””โ”€โ”ฌ @angular-devkit/build-angular@12.0.2 โ”œโ”€โ”ฌ @angular-devkit/build-optimizer@0.1200.2 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ @angular-devkit/build-webpack@0.1200.2 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ @ngtools/webpack@12.0.2 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ babel-loader@8.2.2 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ circular-dependency-plugin@5.2.2 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ copy-webpack-plugin@8.1.1 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ css-loader@5.2.4 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ css-minimizer-webpack-plugin@3.0.0 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ less-loader@8.1.1 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ mini-css-extract-plugin@1.5.1 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ postcss-loader@5.2.0 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ raw-loader@4.0.2 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ sass-loader@11.0.1 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ source-map-loader@2.0.1 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ style-loader@2.0.0 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ stylus-loader@5.0.0 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ terser-webpack-plugin@5.1.2 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ webpack-dev-middleware@4.1.0 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ webpack-dev-server@3.11.2 โ”‚ โ”œโ”€โ”ฌ webpack-dev-middleware@3.7.3 โ”‚ โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ”œโ”€โ”ฌ webpack-subresource-integrity@1.5.2 โ”‚ โ””โ”€โ”€ webpack@5.36.2 deduped โ””โ”€โ”€ webpack@5.36.2

image

After migrating from angular 11 to 12 started to give this error.

closed time in 7 hours

jneves92

delete branch angular/angular-cli

delete branch : renovate/all-minor-patch

delete time in 9 hours

issue commentangular/angular-cli

serve crashes randomly after upgrading to Angular 12

I had the same problem, where the ng build command would fail with OOM errors (Angular 12.0.4). It seems to be fixed after using the following properties in angular.json (meaning the build finished, but I'm not sure if the problem is fixed or if it will reappear; I will come back with an update if it fails again):

"outputHashing": "all",
"namedChunks": true,
"extractLicenses": false,
"vendorChunk": true,
"buildOptimizer": false,
"sourceMap": true

OOM errors are also thrown by ng serve after a while. It is also noticeably slower than previous Angular versions. It also seems to be triggering more recompiles than previous versions (i.e. not only on file save), but I think this behavior is intended?

glued

comment created time in 9 hours

issue commentangular/angular-cli

Error "An unhandled exception occurred: Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager" updating from angular 11 to Angular 12

ng update like npm has logic to read and parse the NPMRC to request packages via https://github.com/npm/npm-registry-fetch so that it can do network requests to the private/public NPM registries.

  • //localhost:4873/ needs to be replaced by your registry url, and no it doesn't need a port.
  • XXXX== needs to be replaced with your encrypted authentication token (Can be obtained when login via npm login)

At the point the easilest thing to do in your case would be to do the following

  • Update D:\code\linkener-applications\.npmrc to the below:
registry=https://<registry>
  • Delete D:\code\linkener-applications\linkener-photovoltaic-calculator\.npmrc

  • Update C:\Users\juanj\.npmrc to contain the below;

//<registry>/:_auth="XXXXX"

Alternatively and recommended use npm login --registry=https://<registry> instead of the last step.

jortiz-belike

comment created time in 10 hours

PR opened angular/angular-cli

perf(@ngtools/webpack): execute modules instead of using child compilers for Angular component resources

This uses the experimental executeModule feature which was introduced in Webpack 5.33.2.

See: https://webpack.js.org/configuration/experiments/#experimentsexecutemodule

+200 -12

0 comment

7 changed files

pr created time in 11 hours

PR opened angular/angular-cli

fix(@angular-devkit/build-angular): use the name as chunk filename instead of id

Solves the following regression in Angular 12: https://github.com/angular/angular-cli/issues/21129

+1 -1

0 comment

1 changed file

pr created time in 11 hours

issue commentangular/angular-cli

ng update in v12 causing the wrong imports in 'tests.ts' file

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.

<sub>This action has been performed automatically by a bot.</sub>

kuncevic

comment created time in 12 hours

issue commentangular/angular-cli

Unnecessary warning message <DON'T USE IT FOR PRODUCTION!>

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.

<sub>This action has been performed automatically by a bot.</sub>

mlc-mlapis

comment created time in 12 hours

issue commentangular/angular-cli

ng build command failed

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.

<sub>This action has been performed automatically by a bot.</sub>

kartech06

comment created time in 12 hours

issue commentangular/angular-cli

37 moderate severity vulnerabilities in v12

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.

<sub>This action has been performed automatically by a bot.</sub>

iamart

comment created time in 12 hours

issue commentangular/angular-cli

Error "An unhandled exception occurred: Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager" updating from angular 11 to Angular 12

I'm not getting what this has to do with the Angular update, with previous versions I had no problem. If my password is abc123 Would the password be abc123== or just abc123? Should the port be 4873, or can it be another?

jortiz-belike

comment created time in 13 hours

issue commentangular/angular-cli

Angular 12.0.1 builds multiple times on startup and on file changes

I had this problem and found out that it was because of an "error" in my angular.json file, does not have to be the same reason here but check to make sure that you do not have any "assets" in your angular.json that does not exist (I specifically had one of the glob pattern variety, not sure if it would do the same with normal assets)

Thanks a lot @Ristaaf, this fixed the issue in our Angular application.

paulaustin-automutatio

comment created time in 13 hours

issue commentangular/angular-cli

Error "An unhandled exception occurred: Unable to authenticate, need: BASIC realm="Sonatype Nexus Repository Manager" updating from angular 11 to Angular 12

So, I did look into this and using the below should fix the below issue.

Adding the below info in your project NPMC.

//localhost:4873/:_authToken="XXXX==" # Declare the proxy and it's auth.
registry=http://localhost:4873/ # Configure to use the proxy.

Alternatively you can use npm login --registry=http://localhost:4873/ so that the proxy and auth are configured globally and in your project just add the an NPMRC which uses the proxy.

registry=http://localhost:4873/ # Configure to use the proxy.
jortiz-belike

comment created time in 14 hours

push eventangular/angular-cli

Charles Lyding

commit sha b3d7080147f755d578d2ee5611437aed9c88f098

build: enable `esModuleInterop` TypeScript option The `esModuleInterop` option is recommended to be enable by TypeScript and corrects several assumptions TypeScript would otherwise make when importing CommonJS files. This option change helps ensure compatibility as packages move towards ESM. Reference: https://www.typescriptlang.org/tsconfig#esModuleInterop

view details

Renovate Bot

commit sha 4409998826d0ba75d29a1e3e924046872e979e0e

build: update all non-major dependencies

view details

Alan Agius

commit sha 0e5d894c1cce342a8e9e1c1f654b0da8e33db72a

build: add missing `tslib` dep in webpack_test

view details

Renovate Bot

commit sha e531fd2595fea02bff3209f34a58b74dcd8e5bee

build: lock file maintenance

view details

Renovate Bot

commit sha f30a54072e2f798be957a29b604f32b2d8f01c7c

build: update all non-major dependencies

view details

push time in 14 hours

PR opened angular/angular-cli

build: update all non-major dependencies

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@babel/core (source) 7.14.5 -> 7.14.6 age adoption passing confidence
@babel/runtime (source) 7.14.5 -> 7.14.6 age adoption passing confidence
@typescript-eslint/eslint-plugin 4.26.1 -> 4.27.0 age adoption passing confidence
@typescript-eslint/parser 4.26.1 -> 4.27.0 age adoption passing confidence
postcss (source) 8.3.2 -> 8.3.4 age adoption passing confidence
sass 1.34.1 -> 1.35.0 age adoption passing confidence
webpack 5.38.1 -> 5.39.0 age adoption passing confidence

Release Notes

<details> <summary>babel/babel</summary>

v7.14.6

Compare Source

:bug: Bug Fix
:house: Internal
:running_woman: Performance

</details>

<details> <summary>typescript-eslint/typescript-eslint</summary>

v4.27.0

Compare Source

Bug Fixes
Features

4.26.1 (2021-06-07)

Bug Fixes

</details>

<details> <summary>postcss/postcss</summary>

v8.3.4

Compare Source

  • Fixed broken AST detection.

v8.3.3

Compare Source

  • Fixed broken AST on postcss dependency duplication in custom parsers.

</details>

<details> <summary>sass/dart-sass</summary>

v1.35.0

Compare Source

  • Fix a couple bugs that could prevent some members from being found in certain files that use a mix of imports and the module system.

  • Fix incorrect recommendation for migrating division expressions that reference namespaced variables.

JS API
  • Add a quietDeps option which silences compiler warnings from stylesheets loaded through importers and load paths.

  • Add a verbose option which causes the compiler to emit all deprecation warnings, not just 5 per feature.

</details>

<details> <summary>webpack/webpack</summary>

v5.39.0

Compare Source

Features

  • allow lazy compilation for import() context (import with expression)

Bugfixes

  • fix respecting cache.allowCollectingMemory
  • fix cli loading after installing it
  • fix initial list of non-js chunks that are flagged as already loaded

Performance

  • remove unnecessary Error.captureStackTrace from webpack errors

</details>


Configuration

๐Ÿ“… Schedule: "after 10pm every weekday,before 4am every weekday,every weekend" in timezone America/Tijuana.

๐Ÿšฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.

โ™ป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

๐Ÿ‘ป Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

+122 -73

0 comment

6 changed files

pr created time in 14 hours

issue commentangular/angular-cli

NG 12 partial compilationMode causes out of memory error

@Supratentorial / @restfulhead can anyone of you please share a reproduction? Without this it would be hard to get to the bottom of this.

restfulhead

comment created time in 15 hours

issue commentangular/angular-cli

NG 12 partial compilationMode causes out of memory error

I'm getting the same issue. Seems to be resolved with disabling generation of source maps.

restfulhead

comment created time in 18 hours

push eventangular/angular-cli

Renovate Bot

commit sha d9b38d4a29526f3fce03875098eb6b476876c04f

build: update angular to 0c540ea

view details

push time in 21 hours

issue commentangular/angular-cli

ng build Not Building in Production Mode by Default in Angular 12

thank you for this post. though how has this not been updated yet. it's been a week.... this is bound to cause more harm than anything else. you literally have a compiler warning encouraging people to change their builds. Reading the release notes was more harmful than ever this time...

mylifeandcode

comment created time in a day

issue commentangular/angular-cli

Angular 12 ng build --watch won't update running ionic serve application

That is probably from the time were Angular CLI didnโ€™t have a monorepo/multi-project concept were libraries and apps can live side my side in the same got repo.

An alternative to npm linking can be using TypeScript configuration path mappings.

{
  "compilerOptions": {
    // ...
    // paths are relative to `baseUrl` path.
    "paths": {
      "@mylib/*": [
       โ€œ../../my-lib/dist/*",
       โ€œnode_modules/my-lib/*
      ]
    }
  }
}
R4yYx

comment created time in a day

issue commentangular/angular-cli

Angular 12 ng build --watch won't update running ionic serve application

@alan-agius4 Using npm link is suggested here: https://angular.io/guide/creating-libraries#linked-libraries Is there any different way to achieve similar effect?

R4yYx

comment created time in a day