Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97420

How to use yarn globally vs project-based?

$
0
0

I am running into problems with my local VSCode and Yarn setup. Inside a service directory, i am trying to run that service with yarn dev after having installed its local dependencies. That script resolves to yarn install && nodemon --config nodemon.json.

Do i have to install nodemon globally with yarn? The same is happening with other CLI commands like cpx, node-ts and so on. Do they all need to get installed globally or can i somehow tell yarn to use them from my node-modules foled within the project?


Viewing all articles
Browse latest Browse all 97420

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>