-
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
Invalid project build when project path includes symlink #3797
Comments
same problem without symlink |
I can verify this happens. It's due to the way we resolve the |
In addition to this, if i have a running and producable project with root-folder f.i. D:\bla\bla\bla\project, then create a soft symlink to this f.i. D:\prj, and try to run 'ng serve' from there, i get all sorts of trouble |
@Wim-van-der-Veen this should be fixed in the new versions, are you sure you've updated? |
@filipesilva I just update my project to angular-cli 1.3.2 and I'm getting the same issue. Are you sure this has been fixed? :) To move past this issue I had to write a little gulp task to copy my standalone library to node_modules of the demo for the time being. Any other solutions? |
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. |
OS?
Windows 7
Versions.
Repro steps.
mklink
command, eg.mklink D:\workspace-link R:\workspace /J
where
R:\workspace
is a phisical folderD:\workspace-link
is a symbolic link which pointing toR:\workspace
/J
is a switch indicating that it has to be folder linkR:\workspace
ng new test-project
cd test-project
body { background-color: #99ff99; }
) insrc/styles.css
ng serve
project run perfectly fine, global styles are applied in application. Now run the project through symlink folder:
D:\workspace-link\test-project
ng serve
project seems to be build successfully and even runs in the browser but in some different way, eg no
vendor.bundle.js
is emitted, nostyles.bundle.css
etc. But the more important thing is that global styles have not been applied in the application!Output:
The text was updated successfully, but these errors were encountered: