DEV Community

Discussion on: I built a React app generator.

Collapse
 
sebastianfrey profile image
Sebastian Frey

How about Axios instead of request?

Collapse
 
leopold profile image
Leopold

The issue is npm registry does not allow anything coming from localhost whatever you are using fetch, axios etc. but good news apparently it works with a proxy so i should be able to get ride of the request module soon!

Collapse
 
sebastianfrey profile image
Sebastian Frey

Interesting, maybe you can use make-fetch-happen? This package is used by npm internally to access the registry.

By the way, nice project. 👍

Thread Thread
 
leopold profile image
Leopold

Thanks a lot for the information, it looks like a solid solution !