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

@20.3.0 migration breaks subsequent 'npm install' #29499

Open
1 of 4 tasks
nhhockeyplayer opened this issue Jan 1, 2025 · 1 comment
Open
1 of 4 tasks

@20.3.0 migration breaks subsequent 'npm install' #29499

nhhockeyplayer opened this issue Jan 1, 2025 · 1 comment

Comments

@nhhockeyplayer
Copy link

nhhockeyplayer commented Jan 1, 2025

Current Behavior

SUBJECT: @20.3.0 migration breaks subsequent 'npm install'

prior reset install builds worked fine

performed a migration
nx migrate latest

subsequent npm install now fails and other hints at babel cache failures beneath node_modules

Expected Behavior

subsequent npm installations after migration should complete gracefully

GitHub Repo

https://github.com/nhhockeyplayer/meanstacknh

Steps to Reproduce

nx migrate latest

npm install

npm install --legacy-peer-deps

Nx Report

nx report                                                                                               

 NX   Report complete - copy this into the issue template

Node           : 22.9.0
OS             : darwin-x64
Native Target  : x86_64-macos
npm            : 10.9.0

nx (global)            : 20.3.0
nx                     : 20.3.0
@nx/js                 : 20.3.0
@nx/jest               : 20.3.0
@nx/eslint             : 20.3.0
@nx/workspace          : 20.3.0
@nx/angular            : 20.3.0
@nx/cypress            : 20.3.0
@nx/devkit             : 20.3.0
@nx/esbuild            : 20.3.0
@nx/eslint-plugin      : 20.3.0
@nx/express            : 20.3.0
@nx/module-federation  : 20.3.0
@nx/nest               : 20.3.0
@nx/node               : 20.3.0
@nx/playwright         : 20.3.0
@nx/vite               : 20.3.0
@nx/web                : 20.3.0
@nx/webpack            : 20.3.0
nx-cloud               : 19.1.0
typescript             : 5.6.3
---------------------------------------
Registered Plugins:
@nx/cypress/plugin
@nx/eslint/plugin
@nx/playwright/plugin
---------------------------------------
Community plugins:
@compodoc/compodoc               : 1.1.26
@fortawesome/angular-fontawesome : 0.15.0
@ionic/angular                   : 6.7.5
@jsverse/transloco               : 7.5.0
@ngrx/component                  : 19.0.0
@ngrx/component-store            : 19.0.0
@ngrx/effects                    : 19.0.0
@ngrx/entity                     : 19.0.0
@ngrx/operators                  : 19.0.0
@ngrx/router-store               : 19.0.0
@ngrx/schematics                 : 19.0.0
@ngrx/store                      : 19.0.0
@ngrx/store-devtools             : 19.0.0
apollo-angular                   : 8.0.0

Failure Logs

meanstack02@admin meanstacknh % git status    
On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean
meanstack02@admin meanstacknh % git checkout -b NEW_MFE_2025
Switched to a new branch 'NEW_MFE_2025'
meanstack02@admin meanstacknh % git status
On branch NEW_MFE_2025
nothing to commit, working tree clean
meanstack02@admin meanstacknh % nx migrate latest
Fetching meta data about packages.
It may take a few minutes.
Fetching [email protected]
Fetching @nx/[email protected]
Fetching @nx/[email protected]
Fetching @nx/[email protected]
Fetching @nx/[email protected]
Fetching @nx/[email protected]
Fetching @nx/[email protected]
Fetching @nx/[email protected]
Fetching @nx/[email protected]
Fetching @nx/[email protected]
Fetching @nx/[email protected]
Fetching @nx/[email protected]
Fetching @nx/[email protected]
Fetching @nx/[email protected]
Fetching @nx/[email protected]
Fetching @nx/[email protected]
Fetching @ngrx/[email protected]
Fetching @angular/[email protected]
Fetching @angular/[email protected]
Fetching @angular/[email protected]
Fetching @ngrx/[email protected]
Fetching @ngrx/[email protected]
Fetching @ngrx/[email protected]
Fetching @ngrx/[email protected]
Fetching @ngrx/[email protected]
Fetching @ngrx/[email protected]
Fetching @ngrx/[email protected]
Fetching @ngrx/[email protected]

 NX   The migrate command has run successfully.

- package.json has been updated.
- migrations.json has been generated.


 NX   Next steps:

- Make sure package.json changes make sense and then run 'npm install',
- Run 'npx nx migrate --run-migrations'
- To learn more go to https://nx.dev/features/automate-updating-dependencies

meanstack02@admin meanstacknh % 
meanstack02@admin meanstacknh % 
meanstack02@admin meanstacknh % npm install
npm warn deprecated [email protected]: package has been renamed to acorn-import-attributes
npm error code ERR_INVALID_ARG_TYPE
npm error The "from" argument must be of type string. Received undefined
npm error A complete log of this run can be found in: /Users/meanstack02/.npm/_logs/2025-01-01T19_32_40_547Z-debug-0.log
meanstack02@admin meanstacknh % npm install --legacy-peer-deps
npm error code ENOTEMPTY
npm error syscall rename
npm error path /Users/meanstack02/meanstacknh/node_modules/babel-loader
npm error dest /Users/meanstack02/meanstacknh/node_modules/.babel-loader-aY7qlyFy
npm error errno -66
npm error ENOTEMPTY: directory not empty, rename '/Users/meanstack02/meanstacknh/node_modules/babel-loader' -> '/Users/meanstack02/meanstacknh/node_modules/.babel-loader-aY7qlyFy'
npm error A complete log of this run can be found in: /Users/meanstack02/.npm/_logs/2025-01-01T19_45_16_232Z-debug-0.log
meanstack02@admin meanstacknh % rm -rf /Users/meanstack02/meanstacknh/node_modules/.babel-loader-aY7qlyFy
meanstack02@admin meanstacknh % npm install --legacy-peer-deps                                           
npm error code ENOTEMPTY
npm error syscall rename
npm error path /Users/meanstack02/meanstacknh/node_modules/es-module-lexer
npm error dest /Users/meanstack02/meanstacknh/node_modules/.es-module-lexer-k4jS1qAJ
npm error errno -66
npm error ENOTEMPTY: directory not empty, rename '/Users/meanstack02/meanstacknh/node_modules/es-module-lexer' -> '/Users/meanstack02/meanstacknh/node_modules/.es-module-lexer-k4jS1qAJ'
npm error A complete log of this run can be found in: /Users/meanstack02/.npm/_logs/2025-01-01T19_46_27_171Z-debug-0.log

Package Manager Version

npm --version 10.9.0

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

trying to focus on pure Nx/Angular fullstack development

very dis-impressed with webpack and babel impact to this ecosystem they really need to be replaced

I had to abandon an entire large branch went back to main and cut a new branch from working running fine building scaffold
migrated that and NOW still pulled into THIS build issue that refuses to relent

it would be nice if Nx was bullet-proofed from rogue outside dependencies like webpack, babel

workaround is back to yarn

at one point during development if I choose to attempt to augment custom webpack the scaffold loses track of src directories

for what its worth here is the migration log

meanstack02@admin meanstacknh % npx nx migrate --run-migrations

NX Running 'yarn' to make sure necessary packages are installed

yarn install v1.22.22
[1/4] 🔍 Resolving packages...
success Already up-to-date.
$ husky
✨ Done in 1.06s.
yarn run v1.22.22
$ /Users/meanstack02/meanstacknh/node_modules/.bin/nx migrate --run-migrations
$ /Users/meanstack02/meanstacknh/node_modules/.bin/nx _migrate --run-migrations

NX Running migrations from 'migrations.json'

Running the following migrations:

  • @angular/material: migration-v19 (Updates Angular Material to v19)
  • @angular/cdk: migration-v19 (Updates the Angular CDK to v19)
  • @angular/core: explicit-standalone-flag (Updates non-standalone Directives, Component and Pipes to 'standalone:false' and removes 'standalone:true' from those who are standalone)
  • @angular/core: pending-tasks (Updates ExperimentalPendingTasks to PendingTasks)
  • @angular/core: provide-initializer (Replaces APP_INITIALIZER, ENVIRONMENT_INITIALIZER & PLATFORM_INITIALIZER respectively with provideAppInitializer, provideEnvironmentInitializer & providePlatformInitializer.)
  • @nx/angular: update-20-2-0-update-module-federation-config-import (Update the ModuleFederationConfig import use @nx/module-federation.)
  • @nx/angular: update-20-2-0-update-with-module-federation-import (Update the withModuleFederation import use @nx/module-federation/angular.)
  • @nx/eslint: update-typescript-eslint-v8.13.0 (Update TypeScript ESLint packages to v8.13.0 if they are already on v8)
  • @nx/angular: update-angular-cli-version-19-0-0 (Update the @angular/cli package version to ~19.0.0.)
  • @nx/angular: add-localize-polyfill-to-targets (Add the '@angular/localize/init' polyfill to the 'polyfills' option of targets using esbuild-based executors.)
  • @nx/angular: update-angular-ssr-imports-to-use-node-entry-point (Update '@angular/ssr' import paths to use the new '/node' entry point when 'CommonEngine' is detected.)
  • @nx/angular: disable-angular-eslint-prefer-standalone (Disable the Angular ESLint prefer-standalone rule if not set.)
  • @nx/angular: remove-angular-eslint-rules (Remove Angular ESLint rules that were removed in v19.0.0.)
  • @nx/angular: remove-tailwind-config-from-ng-packagr-executors (Remove the deprecated 'tailwindConfig' option from ng-packagr executors. Tailwind CSS configurations located at the project or workspace root will be picked up automatically.)
  • @nx/eslint: add-file-extensions-to-overrides (Update ESLint flat config to include .cjs, .mjs, .cts, and .mts files in overrides (if needed))
  • @nx/angular: ensure-nx-module-federation-package (If workspace includes Module Federation projects, ensure the new @nx/module-federation package is installed.)

Running migration @angular/material: migration-v19
Skipping migration for project shared-feature-auth. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-feature-chat. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-feature-notification. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-feature-setting. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-feature-user. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-data-access. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-environment. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-security-auth. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-security-ui-auth. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-service. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-ui-animation. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-ui-custom-material. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-ui-shared-material. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-ui-spinner. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-ui-widget. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-util. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-util-isomorphic. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-util-models. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project @nhhockeyplayer/meanstacknh. Unable to determine 'tsconfig.json' file in workspace config.

  ✓  Updated Angular Material to version 19

Ran migration-v19 from @angular/material
Updates Angular Material to v19

Changes:
UPDATE libs/shared/root/ui-styles/src/lib/theme/utility/_themes.scss


Running migration @angular/cdk: migration-v19
Skipping migration for project shared-feature-auth. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-feature-chat. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-feature-notification. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-feature-setting. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-feature-user. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-data-access. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-environment. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-security-auth. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-security-ui-auth. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-service. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-ui-animation. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-ui-custom-material. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-ui-shared-material. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-ui-spinner. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-ui-widget. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-root-util. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-util-isomorphic. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project shared-util-models. Unable to determine 'tsconfig.json' file in workspace config.
Skipping migration for project @nhhockeyplayer/meanstacknh. Unable to determine 'tsconfig.json' file in workspace config.

  ✓  Updated Angular CDK to version 19

Ran migration-v19 from @angular/cdk
Updates the Angular CDK to v19

No changes were made

Running migration @angular/core: explicit-standalone-flag
Ran explicit-standalone-flag from @angular/core
Updates non-standalone Directives, Component and Pipes to 'standalone:false' and removes 'standalone:true' from those who are standalone

Changes:
UPDATE apps/admin/src/app/admin-app.component.ts
UPDATE libs/shared/feature/auth/src/lib/components/login/login.component.ts
UPDATE libs/shared/feature/auth/src/lib/components/confirm-forgot-password/confirm-forgot-password.component.ts
UPDATE libs/shared/feature/auth/src/lib/components/forgot-password/forgot-password.component.ts
UPDATE libs/shared/feature/auth/src/lib/components/password-reset-modal/password-reset-modal.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/d3/bar/bar-chart.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/show-image.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/big-input/big-input-action.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/modal-image.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/au-input/au-fa-input.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/icon.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/ack-modal/ack-modal.dialog.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/ack-modal/ack-modal.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/triptych/triptych.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/company-link.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/card.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/nx-page-not-found.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/au-select/au-fa-select/au-fa-select.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/big-input/big-input.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/button.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/radio.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/alert.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/pdf-view.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/doc-view.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/chooser/chooser.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/checkbox.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/groupbox/groupbox.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/nav.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/au-input/au-md-input.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/au-select/au-mat-select/au-mat-select.component.ts
UPDATE libs/shared/root/ui-custom-material/src/lib/mat-vertical-stepper-scroller.directive.ts
UPDATE libs/shared/root/ui-widget/src/lib/nx-welcome.component.ts
UPDATE libs/shared/feature/auth/src/lib/components/register-modal/email-taken.directive.ts
UPDATE libs/shared/feature/auth/src/lib/components/register-modal/register-modal.component.ts
UPDATE libs/shared/feature/auth/src/lib/components/login-modal/login-modal.component.ts
UPDATE libs/shared/feature/auth/src/lib/components/password-reset-success/password-reset-success.component.ts
UPDATE libs/shared/feature/auth/src/lib/components/change-password/change-password.component.ts
UPDATE libs/shared/feature/auth/src/lib/components/subscription/subscription.component.ts
UPDATE libs/shared/feature/auth/src/lib/components/password-reset/password-reset.component.ts
UPDATE libs/shared/feature/auth/src/lib/components/register/register.component.ts
UPDATE libs/admin/root/feature-shell/src/lib/navigation/navigation.component.ts
UPDATE libs/admin/root/feature-shell/src/lib/shell.component.ts
UPDATE libs/admin/root/feature-shell/src/lib/modal/modal.component.ts
UPDATE libs/shared/feature/user/src/lib/user/user-list.component.ts
UPDATE libs/shared/feature/user/src/lib/user/user-select/user-select.component.ts
UPDATE libs/shared/feature/user/src/lib/user/usertable/dialogs/add/add.dialog.component.ts
UPDATE libs/shared/feature/user/src/lib/user/usertable/dialogs/edit/edit.dialog.component.ts
UPDATE libs/shared/feature/user/src/lib/user/usertable/dialogs/delete/delete.dialog.component.ts
UPDATE libs/shared/feature/user/src/lib/user/usertable/usertable.component.ts
UPDATE libs/shared/feature/user/src/lib/user/admin/admin/admin.component.ts
UPDATE apps/ui-auth/src/app/remote-entry/entry.component.ts
UPDATE apps/ui-dashboard/src/app/remote-entry/dashboard/dashboard.component.ts
UPDATE apps/ui-dashboard/src/app/remote-entry/entry.component.ts
UPDATE apps/ui-host/src/app/app.component.ts
UPDATE libs/shared/feature/chat/src/lib/chat/chat.component.ts
UPDATE libs/shared/feature/chat/src/lib/video-chat/video-chat.component.ts
UPDATE libs/shared/feature/setting/src/lib/setting-container/settings-container/settings-container.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/d3/chart/chart.component.ts
UPDATE libs/shared/root/ui-widget/src/lib/directives/rtl-support/rtl-support.directive.spec.ts


Running migration @angular/core: pending-tasks
^[[BRan pending-tasks from @angular/core
Updates ExperimentalPendingTasks to PendingTasks

No changes were made

Running migration @angular/core: provide-initializer
Ran provide-initializer from @angular/core
Replaces APP_INITIALIZER, ENVIRONMENT_INITIALIZER & PLATFORM_INITIALIZER respectively with provideAppInitializer, provideEnvironmentInitializer & providePlatformInitializer.

Changes:
UPDATE apps/ui-host/src/app/app.component.ts


Running migration @nx/angular: update-20-2-0-update-module-federation-config-import
Ran update-20-2-0-update-module-federation-config-import from @nx/angular
Update the ModuleFederationConfig import use @nx/module-federation.

Changes:
UPDATE apps/ui-host/module-federation.config.ts


Running migration @nx/angular: update-20-2-0-update-with-module-federation-import
Ran update-20-2-0-update-with-module-federation-import from @nx/angular
Update the withModuleFederation import use @nx/module-federation/angular.

Changes:
UPDATE apps/ui-auth/webpack.config.ts
UPDATE apps/ui-auth/webpack.prod.config.ts
UPDATE apps/ui-dashboard/webpack.config.ts
UPDATE apps/ui-dashboard/webpack.prod.config.ts
UPDATE apps/ui-host/webpack.config.js
UPDATE apps/ui-host/webpack.config.ts
UPDATE apps/ui-host/webpack.prod.config.js
UPDATE apps/ui-host/webpack.prod.config.ts
UPDATE apps/ui-nav/webpack.config.ts
UPDATE apps/ui-nav/webpack.prod.config.ts
UPDATE package.json


Running migration @nx/eslint: update-typescript-eslint-v8.13.0
Ran update-typescript-eslint-v8.13.0 from @nx/eslint
Update TypeScript ESLint packages to v8.13.0 if they are already on v8

No changes were made

Running migration @nx/angular: update-angular-cli-version-19-0-0
Ran update-angular-cli-version-19-0-0 from @nx/angular
Update the @angular/cli package version to ~19.0.0.

Changes:
UPDATE package.json


Running migration @nx/angular: add-localize-polyfill-to-targets
Ran add-localize-polyfill-to-targets from @nx/angular
Add the '@angular/localize/init' polyfill to the 'polyfills' option of targets using esbuild-based executors.

No changes were made

Running migration @nx/angular: update-angular-ssr-imports-to-use-node-entry-point
Ran update-angular-ssr-imports-to-use-node-entry-point from @nx/angular
Update '@angular/ssr' import paths to use the new '/node' entry point when 'CommonEngine' is detected.

No changes were made

Running migration @nx/angular: disable-angular-eslint-prefer-standalone
Ran disable-angular-eslint-prefer-standalone from @nx/angular
Disable the Angular ESLint prefer-standalone rule if not set.

Changes:
UPDATE libs/shared/root/ui-custom-material/.eslintrc.json
UPDATE libs/shared/root/ui-shared-material/.eslintrc.json
UPDATE libs/shared/root/security/ui-auth/.eslintrc.json
UPDATE libs/shared/feature/notification/.eslintrc.json
UPDATE libs/shared/root/security/auth/.eslintrc.json
UPDATE libs/admin/root/feature-shell/.eslintrc.json
UPDATE libs/shared/root/ui-animation/.eslintrc.json
UPDATE libs/shared/root/data-access/.eslintrc.json
UPDATE libs/shared/root/environment/.eslintrc.json
UPDATE libs/shared/feature/setting/.eslintrc.json
UPDATE libs/shared/root/ui-spinner/.eslintrc.json
UPDATE libs/shared/root/ui-assets/.eslintrc.json
UPDATE libs/shared/root/ui-styles/.eslintrc.json
UPDATE libs/shared/root/ui-widget/.eslintrc.json
UPDATE libs/shared/feature/auth/.eslintrc.json
UPDATE libs/shared/feature/chat/.eslintrc.json
UPDATE libs/shared/feature/user/.eslintrc.json
UPDATE libs/shared/root/service/.eslintrc.json
UPDATE libs/shared/root/util/.eslintrc.json
UPDATE apps/ui-dashboard/.eslintrc.json
UPDATE libs/graphql/.eslintrc.json
UPDATE apps/ui-auth/.eslintrc.json
UPDATE apps/ui-host/.eslintrc.json
UPDATE apps/ui-nav/.eslintrc.json
UPDATE apps/admin/.eslintrc.json


Running migration @nx/angular: remove-angular-eslint-rules
Ran remove-angular-eslint-rules from @nx/angular
Remove Angular ESLint rules that were removed in v19.0.0.

Changes:
UPDATE libs/shared/root/ui-custom-material/.eslintrc.json
UPDATE libs/shared/root/ui-shared-material/.eslintrc.json
UPDATE libs/shared/feature/notification/.eslintrc.json
UPDATE libs/shared/root/data-access/.eslintrc.json
UPDATE libs/shared/root/ui-widget/.eslintrc.json
UPDATE libs/shared/root/service/.eslintrc.json
UPDATE libs/shared/root/util/.eslintrc.json
UPDATE .eslintrc.json


Running migration @nx/angular: remove-tailwind-config-from-ng-packagr-executors
Ran remove-tailwind-config-from-ng-packagr-executors from @nx/angular
Remove the deprecated 'tailwindConfig' option from ng-packagr executors. Tailwind CSS configurations located at the project or workspace root will be picked up automatically.

No changes were made

Running migration @nx/eslint: add-file-extensions-to-overrides
Ran add-file-extensions-to-overrides from @nx/eslint
Update ESLint flat config to include .cjs, .mjs, .cts, and .mts files in overrides (if needed)

No changes were made

Running migration @nx/angular: ensure-nx-module-federation-package
Ran ensure-nx-module-federation-package from @nx/angular
If workspace includes Module Federation projects, ensure the new @nx/module-federation package is installed.

No changes were made

NX Running 'yarn' to make sure necessary packages are installed

[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
warning Pattern ["cors@latest"] is trying to unpack in the same destination "/Users/meanstack02/Library/Caches/Yarn/v6/npm-cors-2.8.5-eac11da51592dd86b9f06f6e7ac293b3df875d29-integrity/node_modules/cors" as pattern ["[email protected]","cors@~2.8.5","cors@~2.8.5","cors@^2.8.5","[email protected]"]. This could result in non-deterministic behavior, skipping.
warning Pattern ["object-assign@latest"] is trying to unpack in the same destination "/Users/meanstack02/Library/Caches/Yarn/v6/npm-object-assign-4.1.1-2109adc7965887cfc05cbbd442cac8bfbb360863-integrity/node_modules/object-assign" as pattern ["object-assign@^4.1.1","object-assign@^4","object-assign@^4.1.1","object-assign@^4.1.1","object-assign@^4.1.1","object-assign@^4.1.1","object-assign@^4.1.1","object-assign@^4.0.1","object-assign@^4"]. This could result in non-deterministic behavior, skipping.
[3/4] 🔗 Linking dependencies...
warning " > @fortawesome/[email protected]" has incorrect peer dependency "@angular/core@^18.0.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @ionic-native/[email protected]" has incorrect peer dependency "rxjs@^5.5.0 || ^6.5.0".
warning " > @m8a/[email protected]" has incorrect peer dependency "@nestjs/common@^9.0.0".
warning " > @m8a/[email protected]" has incorrect peer dependency "@nestjs/core@^9.0.0".
warning " > @nestifyjs/[email protected]" has incorrect peer dependency "@nestjs/common@^6.10.9".
warning " > @nestifyjs/[email protected]" has incorrect peer dependency "@nestjs/core@^6.10.9".
warning " > @nestifyjs/[email protected]" has unmet peer dependency "fastify@^2.11.0".
warning " > @nestifyjs/[email protected]" has incorrect peer dependency "rxjs@^6.5.3".
warning " > @nestjs/[email protected]" has incorrect peer dependency "@nestjs/common@^7.0.0 || ^8.0.0 || ^9.0.0".
warning " > @nestjs/[email protected]" has incorrect peer dependency "@nestjs/common@^8.0.0".
warning " > @nestjs/[email protected]" has incorrect peer dependency "@nestjs/core@^8.0.0".
warning " > @nestjs/[email protected]" has incorrect peer dependency "@nestjs/common@^8.0.0 || ^9.0.0".
warning " > @nestjs/[email protected]" has incorrect peer dependency "@nestjs/core@^8.0.0 || ^9.0.0".
warning " > @nestjs/[email protected]" has incorrect peer dependency "@nestjs/common@^6.0.0 || ^7.0.0 || ^8.0.0".
warning " > @nestjs/[email protected]" has incorrect peer dependency "@nestjs/websockets@^10.0.0".
warning " > @nestjs/[email protected]" has incorrect peer dependency "@nestjs/common@^8.0.0".
warning " > @nestjs/[email protected]" has incorrect peer dependency "@nestjs/core@^8.0.0".
warning " > @nestjs/[email protected]" has incorrect peer dependency "@nestjs/common@^8.0.0".
warning " > @nestjs/[email protected]" has incorrect peer dependency "@nestjs/core@^8.0.0".
warning " > @nhhockeyplayer/[email protected]" has incorrect peer dependency "@nhhockeyplayer/shared-root-ui-assets@latest".
warning " > @nhhockeyplayer/[email protected]" has incorrect peer dependency "@nhhockeyplayer/shared-root-ui-styles@latest".
warning " > @nhhockeyplayer/[email protected]" has unmet peer dependency "@nhhockeyplayer/shared-root-environment@latest".
warning " > @nhhockeyplayer/[email protected]" has incorrect peer dependency "@nhhockeyplayer/shared-root-ui-assets@latest".
warning " > @nhhockeyplayer/[email protected]" has unmet peer dependency "@nhhockeyplayer/shared-root-util@latest".
warning " > [email protected]" has unmet peer dependency "webpack@^5.0.0".
warning " > @typegoose/[email protected]" has incorrect peer dependency "mongoose@~6.7.0".
warning " > @typegoose/[email protected]" has incorrect peer dependency "mongoose@~6.5.0".
warning " > [email protected]" has unmet peer dependency "@popperjs/core@^2.11.8".
warning "mongoose > mongodb > @aws-sdk/credential-providers > @aws-sdk/credential-provider-sso > @aws-sdk/[email protected]" has unmet peer dependency "@aws-sdk/client-sso-oidc@^3.714.0".
warning " > [email protected]" has incorrect peer dependency "@ngrx/store@^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0".
warning " > [email protected]" has incorrect peer dependency "@angular/common@^14.0.0".
warning " > [email protected]" has incorrect peer dependency "@angular/core@^14.0.0".
warning "primefaces > [email protected]" has unmet peer dependency "uuid@^3.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0".
warning "primefaces > [email protected]" has unmet peer dependency "@egjs/hammerjs@^2.0.0".
warning "primefaces > [email protected]" has unmet peer dependency "component-emitter@^1.3.0".
warning "primefaces > [email protected]" has unmet peer dependency "keycharm@^0.2.0 || ^0.3.0 || ^0.4.0".
warning "primefaces > [email protected]" has unmet peer dependency "propagating-hammerjs@^1.4.0 || ^2.0.0".
warning "primefaces > [email protected]" has unmet peer dependency "uuid@^3.4.0 || ^7.0.0 || ^8.0.0 || ^9.0.0".
warning "primefaces > [email protected]" has unmet peer dependency "@egjs/hammerjs@^2.0.0".
warning "primefaces > [email protected]" has unmet peer dependency "component-emitter@^1.3.0 || ^2.0.0".
warning " > [email protected]" has incorrect peer dependency "@angular/core@^14.0.0".
warning " > [email protected]" has incorrect peer dependency "@angular/common@^14.0.0".
warning " > [email protected]" has incorrect peer dependency "@angular/forms@^14.0.0".
warning " > [email protected]" has incorrect peer dependency "zone.js@^0.10.2 || ^0.11.0 || ^0.12.0".
warning "@angular-devkit/build-angular > @vitejs/[email protected]" has unmet peer dependency "vite@^3.0.0 || ^4.0.0 || ^5.0.0".
warning " > @angular-eslint/[email protected]" has unmet peer dependency "@typescript-eslint/types@^7.11.0 || ^8.0.0".
warning " > @angular-eslint/[email protected]" has incorrect peer dependency "@angular/cli@>= 15.0.0 < 16.0.0".
warning "@nx/playwright > @nx/[email protected]" has unmet peer dependency "vite@^5.0.0".
warning "@nx/playwright > @nx/[email protected]" has unmet peer dependency "vitest@^1.3.1 || ^2.0.0".
warning "@swc-node/register > @swc-node/[email protected]" has unmet peer dependency "@swc/types@>= 0.1".
warning "verdaccio > [email protected]" has unmet peer dependency "typanion@*".
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
warning Workspaces can only be enabled in private projects.
[4/4] 🔨 Building fresh packages...
success Saved lockfile.
$ husky

NX Successfully finished running migrations from 'migrations.json'. This workspace is up to date!

✨ Done in 208.26s.
meanstack02@admin meanstacknh %

@brugi82
Copy link

brugi82 commented Jan 3, 2025

We are using yarn (version 4.4.0) for our project, and the same issue is reproducible. After running yarn nx migrate latest (upgrading from nx 20.1.4), following yarn install command starts to fail:

Fatal JavaScript invalid size error 169220004

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants