You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
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 emptyeslint.config.js
file it does continue correctly it seems, however it does generate aeslint.config.js
file instead of.eslintrc.json
which all other libraries currently have.Nx Report
Failure Logs
Package Manager Version
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: