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

Generating Angular Library Error #29305

Open
1 of 4 tasks
JelleBruisten opened this issue Dec 11, 2024 · 0 comments
Open
1 of 4 tasks

Generating Angular Library Error #29305

JelleBruisten opened this issue Dec 11, 2024 · 0 comments

Comments

@JelleBruisten
Copy link

JelleBruisten commented Dec 11, 2024

Current Behavior

Executing task: yarn nx generate @nx/angular:library --directory=libs/foo/feature-bar --name=foo-feature-bar --standalone=false --no-interactive --dry-run

NX Generating @nx/angular:library

Option "standaloneConfig" is deprecated: Nx only supports standaloneConfig

NX Could not find root flat config file

Seems to be related to #28404

Expected Behavior

When generating a library it should not error, it's just the generator that errors manually creating the files for library and executing/building the library does work.

GitHub Repo

No response

Steps to Reproduce

Trying to generate either by nx console or directly in command line:

yarn nx generate @nx/angular:library --directory=libs/foo/feature-bar --name=foo-feature-bar --standalone=false --no-interactive --dry-run

This only happens if there is no eslint.config.js if we create a empty eslint.config.js file it does continue correctly it seems, however it does generate a eslint.config.js file instead of .eslintrc.json which all other libraries currently have.

Nx Report

Node           : 20.14.0
OS             : win32-x64
Native Target  : x86_64-windows
yarn           : 4.5.3

nx (global)            : 20.2.1
nx                     : 20.2.2
@nx/js                 : 20.2.2
@nx/jest               : 20.2.2
@nx/eslint             : 20.2.2
@nx/workspace          : 20.2.2
@nx/angular            : 20.2.2
@nx/cypress            : 20.2.2
@nx/devkit             : 20.2.2
@nx/eslint-plugin      : 20.2.2
@nx/module-federation  : 20.2.2
@nx/node               : 20.2.2
@nx/plugin             : 20.2.2
@nx/storybook          : 20.2.2
@nx/web                : 20.2.2
@nx/webpack            : 20.2.2
typescript             : 5.6.3
---------------------------------------
Community plugins:
@alyle/ui             : 17.0.0
@jsverse/transloco    : 7.5.0
@ngrx/component       : 18.1.1
@ngrx/component-store : 18.1.1
@ngrx/eslint-plugin   : 18.1.1
@ngrx/operators       : 18.1.1
@ngrx/schematics      : 18.1.1
@ngrx/signals         : 18.1.1
@storybook/angular    : 8.4.7

Failure Logs

Package Manager Version

No response

Operating System

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

Additional Information

No response

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

1 participant