drupal-graphql / drupal-decoupled-app

Decoupled Drupal demo application based on React, GraphQL and Apollo including server-side rendering.
MIT License
311 stars 76 forks source link

FIX: spread syntax not running on startup #405

Closed signalwerk closed 6 years ago

signalwerk commented 6 years ago

What is the recommended node version for de development? I started with node v6 then the startup breaks. Now I use v8 that looks like it's working. Maybe we could add a ".nvm" file? But maybe we could use Object.assign anyway to have the out of the box experience also for old node versions better. With my PR it also works wit v6

fubhy commented 6 years ago

I would like to use the .nvm file instead. Downgrading node is not reasonable (because Node v8+ is substantially faster too). I'd rather have it break on lower versions to be honest :P.

fubhy commented 6 years ago

Feel free to re-open with a .nvmrc file and a .npmrc file or a reference to minimal node version in package.json.