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

Problems with generated angular project.json #9706

Closed
alexkimru opened this issue Apr 6, 2022 · 3 comments · Fixed by #9729
Closed

Problems with generated angular project.json #9706

alexkimru opened this issue Apr 6, 2022 · 3 comments · Fixed by #9729
Assignees
Labels
outdated scope: angular Issues related to Angular support in Nx type: bug

Comments

@alexkimru
Copy link

Short app names can produce problems in generated project.json file. As I understand, some script just auto replace all matches of app name with path to application directory. For example, if you have application with name mb, you get "maximumError": "1apps/mb" in project.json, instead of "maximumError": "1mb".

Current Behavior

project.json file is generated with mistakes

Expected Behavior

project.json file should be generated without mistakes

Steps to Reproduce

  • While creating new project, just use short app name, which can be replaced in project.json. For example dev.
    image

  • Or in existing project run command:
    nx g app dev

  • Try to start application:
    nx serve dev
    image

@AgentEnder AgentEnder added the scope: angular Issues related to Angular support in Nx label Apr 6, 2022
@Coly010 Coly010 self-assigned this Apr 7, 2022
@Coly010
Copy link
Contributor

Coly010 commented Apr 7, 2022

Hey :) Let me look into this. Thanks for all the info provided :)

@Coly010
Copy link
Contributor

Coly010 commented Apr 7, 2022

it appears more like there is an issue specifically with calling an app a name that conflicts with certain properties. I'll take a look further

@github-actions
Copy link

This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated scope: angular Issues related to Angular support in Nx type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants