-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Creating multiple back end applications throws error Path "/apps/X/proxy.conf.json" already exist.
#4215
Labels
Comments
I can reproduce this as well, when I adjust the test. I will take a look at this and open a PR |
@mehrad-rafigh do you still want to send a PR? 😃 |
@bekos sry I forgot about this. I will finish the PR tonight |
@bekos I opened a PR. Could you please review it? |
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Current Behavior
If I create a React app, then an express app with
--frontendProject=myreactapp
. I see aproxy.conf.json
created in the React app codebase.If I then add a second express app, also with the same
frontendProject
, I get the errorPath "/apps/myreactapp/proxy.conf.json" already exist.
and the generator appears to bail: no further files are created or changed.I have to wonder if I'm doing something fundamentally wrong by having 2 APIs, but this can't be that unusual in a microservices environment.
I've tried using
--force
but it still complains. Ideally it shouldn't have to use force though as multiple apis doesn't seem outlandish.Expected Behavior
I'd expect the second app to be appended to the object in
proxy.conf.json
.Steps to Reproduce
Environment
OSX Catalina
Node 12.16.2
@nrwl/workspace 10.4.4
The text was updated successfully, but these errors were encountered: