-
Notifications
You must be signed in to change notification settings - Fork 12k
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
ng update @angular/cli with allowOutsideOutDir
not working - Path is Invalid
#10647
Comments
it seems I recommend someting in the changelog, the upgrade guide, and a mlog message in the console when running the i do not see any reference to it in the changelog. but i see this issue #9363 Any guidance is appreciated. |
I think we should both show a warning on the release notes, and also show a warning during |
Added a |
@filipesilva I'm sorry you are right, build the issue has been moved to to issue 10649 |
allowOutsideOutDir
not working - Path is Invalid
Since allowOutsideOutDir has been removed, what all options do i have? How can i migrate to Angular CLI 6.0.0 in this case when allowOutsideOutDir has been removed? As per this comment (#9363 (comment)), it seems that outside directories are working without this option now Edit 1: The 'Path "/../" is invalid' error is not helpful at all. I am trying to migrate my 5.2.* project to 6.0.0 and i get this error while running the following command, it should at least give the file name and line number with the problem. PS D:\Work\git_repos\ccw\client-app> ng update @angular/cli Edit 2: I was able to resolve the 'Path "/../" is invalid error but not able to solve the main issue with it. I followed @johnpapa 's article and had the following in my .angular-cli.json:
The error comes because of this line: "output": "../". If i make it "output": "./", it works. Now, with allowOutsideOutDir support removed, i am not sure how i can deploy my client to dist/public and server to dist/ Edit 3: I used a workaround to make it work for now: |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Versions
Repro steps
/src/client
src/server
(this is where i could put a node server)package.json
inside ofapps
,assets
.ng update @angular/cli
Observed behavior
Mention any other details that might be useful (optional)
I removed those
allowOutsideOutDir
entries and it seems to work. But I think it should work with them.cc @filipesilva
The text was updated successfully, but these errors were encountered: