1

I am working on several Angular projects which has same node_folder (with same node dependencies), so i made a symlink to new second angular project , it compiles successfully , but CSS is not working.

later i removed the symlink and modified the angular.json with "../node_modules/.." pointing to node_modules folder which is on same level as project folder

  • ../
  • ./
  • /node_modules
  • /project1
  • /project2

etc

still the project gets compiled , yet CSS is not working - is it possible to fix this and get CSS working with this way ?

1 Answer 1

1

Adding NODE_PATH pointing to node_modules folder and modifying the angular.json accordingly solved the problem

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.