TS4090 Conflicting definitions for node

Published

I currently have two repos. One that acts as the angular front end and the other a nodejs back end. The two code bases are sharing some code so I am using npm link to give access. I’m currently writing another service that will use code from the nodejs backend. After exporting the function that has dependency on express, my front end code is now failing to build and now throwing the ts4090 error.

The only thing I’ve narrowed down to is that if I comment out that exported code it builds normally again. The only difference is that exported function is importing express for NextFunction.

The express-servce-static have conflicting versions now

Source: Angular Questions

Published
Categorized as angular, node.js, npm, typescript Tagged , , ,

Answers

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq