{Help }New: Setting Up

I am trying to install and do the Hello World sample from Facebook.

I had 2 problems:

  1. When I run: create-react-native-app AwesomeProject I get this error:

You are currently running Node v4.4.2 but create-react-native-app requires >=6. Please use a supported version of Node.

What does this mean?

  1. My package.json: { "name": "AwesomeProject", "version": "0.1.0", "private": true, "scripts": { "test": "make test", "start": "node index.js" }, "devDependencies": { "react-native-scripts": "1.5.0" } }

When I npm start I get this error:

SyntaxError: Unexpected reserved word at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Function.Module.runMain (module.js:441:10) at startup (node.js:139:18) at node.js:968:3

This is the code I copy and paste from Facebook Hello World sample. This is my first project and nothing is making sense. Once I get hello world going, I think I can take it from here. Thanks.

0 Comment

NO COMMENTS

LEAVE A REPLY

Captcha image