Sunday 18 March 2018

How to run this package script with yarn?

Im following a online course that uses this github repo http://ift.tt/2FJOwhV using "npm run dev" everything works as expected, starts a server builds a react app. But if I change all the npm's to yarn and run "yarn run dev" the server tries to start multiple times and doesnt do anything about reactThe course I'm learning is more about the backend rather than the react side, so I dont know much about building react apps, but can someone explain how npm run dev behaves different, and expected, when compared to yarn run dev, which fails to work. And also what do I need to do to make yarn run dev work?

Submitted March 18, 2018 at 10:52AM by itsmoirob

No comments:

Post a Comment