-
Notifications
You must be signed in to change notification settings - Fork 509
Why is Node 6.0 a requirement in the docs. #9
Comments
I'm not entirely sure if Node 6 is a "requirement". That is all I've tested with so far. If you can test with a lower version please let me know. Thanks |
Hi, So I updated to version 0.9.65 that you released a few hours ago. Then I downgraded to Node 5.12.0 because of the errors using Gulp etc and that sorted those issues out with Laravel-Elixir etc. However when I restarted my server.js i kept getting this:
So I thought maybe it was because I was using your new release. SO I downgraded that to 0.9.5 (which was working yesterday). No joy, kept getting this message:
Finally upgraded back to Node 6, and it started working again.
So it appears that node 6 is required. Would you be able to see/understand why it is needed? Would it be a massive or difficult task to make this package Node 5 compatible too? Thank you kindly as I have very very much out of my depth with the javascript package world. |
Changing between node versions, I used the info I got from here. |
So it looks like because you are using default parameter values which is a new feature in JS and so only works in Node v6? I think there is a simple work around to this: http://www.codereadability.com/javascript-default-parameters-with-or-operator/ (Paragraph starting with: How to set defaults values instead) I have just edited the Standby |
Ah yes, that is probably why. I'll make that update when I get a chance. |
You'll know much better than me, but here's what I did to make it work. |
Closing and fixing in an upcoming release. |
Thanks very much. I think node 5 is what is installed as default on homestead and whilst it isn't difficult to upgrade node, it might help stop a lot of support issues if it was compatible with the version that comes as default. Also I think node 4.xx is the LTS version at the moment too. I haven't done any testing with that, but if your lucky you might be able to support that version too!! |
Hi,
The docs show a requirement for Node 6
However it seems that by using Node 6 we have some other issues when we use gulp (laravel elixir) to generate some of the JS code.
https://github.com/laravel/elixir/issues/496
laravel/elixir#543
I'm experiencing those issues too...
Do we really need Node 6?
The text was updated successfully, but these errors were encountered: