ekatzenstein / create-react-app-fullstack

Use create-react-app as a full-stack tool, with Express and Sequelize (PostgreSQL)
MIT License
51 stars 13 forks source link

Does not like node v8.4.0 #6

Open rafgeekee opened 7 years ago

rafgeekee commented 7 years ago

Syntax error when attempting to run fullstack command on node v8.4.0

.nvm/versions/node/v8.4.0/lib/node_modules/create-react-app-fullstack/index.js:89
        let pkgJson = JSON.parse(packageString)
        ^^^

Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:414:25)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Function.Module.runMain (module.js:467:10)
    at startup (node.js:134:18)
    at node.js:961:3

Which version of node will make this a happy bunny?

ghost commented 6 years ago

@rafgeekee I am using node 8.9.1 and to run the fullstack command I had use node ~/.nvm/versions/node/v8.9.1/bin/fullstack