'@import .scss from a "npm linked" node_modules folder in Angular
I think my problem is not directly related to Angular.
As you can see on the screenshot, I added @devmonkeys/scss-elements with "npm link" to my node_modules folder.
My IDE even recognizes this path and shows that everything is ok. Angular also accepts this path (probably because WebPack resolves the path).
However, when I run my NPM script:
"scss-elements-generate-autocompletes": "sass --load-path=node_modules/@devmonkeys/scss-elements apps/ada-waifus/src/scss/autocomplete/_index.scss .angular/cache/scss-elements-autocompletes.css --no-source-map",
I read somewhere that you can solve this problem by defining --load-path.... However this does not really help.
Does anyone know what I am doing wrong here?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|

