Skip to content

Styles don't included when node_module folder is a symbolic link #5515

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

Closed
dianjuar opened this issue Mar 20, 2017 · 2 comments
Closed

Styles don't included when node_module folder is a symbolic link #5515

dianjuar opened this issue Mar 20, 2017 · 2 comments

Comments

@dianjuar
Copy link

Bug Report or Feature Request (mark with an x)

- [X] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.0.0-rc.2
node: 6.9.5
os: linux x64

Repro steps.

I have several angular projects so to save disk space y decied to have one node_modules folder an each angular project have a symbolic to that unique node_modules folder. Think a shared node_module folder.

When I want to use Bootstrap, the styles are not enqueued having the symbolic link but, with out it, it does.

I am taking a course so, I have several angular projects for each lesson. With this hack I save about 2gb or more of disk space. Maybe somebody has several angular projects on a server an do this hack too to save space disk too.

The log given by the failure.

No error given by ng serve and browser console either

Mention any other details that might be useful.

I enqueue the style on .angular-cli.json

"styles": [
        "styles.css",
        "../node_modules/bootstrap/dist/css/bootstrap.min.css"
      ],
@filipesilva
Copy link
Contributor

We have a couple of known problems with symlinks in general. Dupe of #3797.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants