-
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 serve/add does not work when node_modules is symlink #18425
Comments
Hi @stoufa06, Thanks for reporting this issue, but this is not caused by the Angular CLI. The problem here is most likely because the real folder is named Closing this, as this is not really a bug within the Angular CLI. |
@alan-agius4 Thank you for response. I have changed the name to node_modules and it half worked. When i run ng serve i got this errors :
|
@stoufa06 I've been trying to replicate the above Can you try to run the following Thanks. |
@alan-agius4 The logs is too long receiving an error when adding comment : You can't comment at this time — your comment is too long (maximum is 65536 characters). I have put it in txt file logs.txt |
@alan-agius4 i have github project link. You can reproduce with vagrant if you want : https://github.com/stoufa06/mean-stack-vagrant. |
Most likely the issue you are seeing will get solved via
#18438
…On Tue, 04 Aug 2020 at 15:43, Mustapha A ***@***.***> wrote:
@alan-agius4 <https://github.com/alan-agius4> i have github project link.
You can reproduce with vagrant if you want :
https://github.com/stoufa06/mean-stack-vagrant.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18425 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEF74WTRSD3ALNPGDW4PVBLR7AF7BANCNFSM4PSVOO2Q>
.
|
@alan-agius4 i will wait the pull request and test again |
@stoufa06 cam you try using the next version of the Angular CLI and see if it solves this issue?
|
@alan-agius4 There are two news : good one and bad one.
The bad news is that i have tried to update @angular/cli after i have created the app with angular cli v10.0.5 it showed me an error while update and an error ng serve and build:
|
Seems like the second NPM install did something which ended up causing this error. Looking at the NPM issue tracker it seems that a symlinked At this point, I don't think there is anything actionable by the Angular tooling team, and I would strongly recommend to re-evaluating the choice of linking |
I have run in multiple fails scenarios before i ended up here to open an issue. I would be really happy if i found any solution other than using symlink and loosing time to search about solution. |
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. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
I don't know. Previous issue says it was fixed.
Description
A clear and concise description of the problem...I am trying to create mean stack development environment using vagrant and debian 10 official box. Because default vagrant shared folder does not support symlinks and nfs is very very slow and takes forever to to install simple angular app. I have choose to make node_modules outside the shared folder and link it with symlink. The installation process is successful but when i have add
@angular/material
package, it shows me and error. I have triedng serve
also it did not work.This is the project link
🔬 Minimal Reproduction
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
The github project i am working on https://github.com/stoufa06/mean-stack-vagrant. Fallow install instruction and see the issue.
The text was updated successfully, but these errors were encountered: