Setting Up Your React Dev Environment Easily


#43

“To get started, go to your src directory …”

How do I access the src directory, through terminal or otherwise?


#44

Either way. Whatever you feel comfortable with to delete and add files. The next step also includes editing a file, so having an editor handy will help too. And if you have an editor that includes its own file management (Sublime, Code, etc.), that can also be used.


#45

Thanks for that.


#46

Literally love this article! I am actually looking into using GatsbyJS and GraphQL with Wordpress to redo my company site.

This simplified the process of creating react project environment on my local machine.

Thanks for the help!


#47

Hi Kirupa,

First of all, thanks for the great article and I learned a lot from you. It seems that the latest serve command comes to error. I have googled it but no clue. Do you have any idea?


/usr/lib/node_modules/serve/bin/serve.js:32
const updateCheck = async isDebugging => {
^^^^^^^^^^^

SyntaxError: Unexpected identifier
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions…js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.runMain (module.js:611:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:160:9)