Thursday 12 April 2018

Node Project File Size with create-react-app. 185MB for 'Hello World'?

I'm new to node. I rannpm install -g create-react-appand it installed less than 100 files. Great. I thought I was all set.I tried to create a new project offline withreate-react-app my-appand it threw errors because I wasn't connected to the Internet.I connected to the Internet and ran it again. Into the directory for the project (not some default directory for all node projects), it put over 22,000 files and totaled 185MB.Did I do something horribly wrong? Must I install 185MB for each new react app? Can I not start a new project with create-react-app without being connected to the Internet? Help.

Submitted April 12, 2018 at 09:17PM by CodeCamping

No comments:

Post a Comment