mistermat's avatar

Laravel Elixir 6.0.0-1

I want to update my node.js for a new project, but also want to be able to continue work on an older project. Would updating node.js (current LTS version 8.10.0) cause errors when trying to run on an older project?

I'm getting errors when trying to run gulp watch on a L5.1 project running Elixir 6.0.0-1 after updating node.js. Ideally, I'd like to continue to use an updated version of node.js while working on old projects, so just want to make sure this is possible in the first place. If not, I can just download an older version of node.js.

0 likes
2 replies
gMagicScott's avatar
Level 27

It's possible that the upgrade to Node caused the issues. Can't say for certain without knowing what the errors are exactly and then digging into them.

It might be worthwhile to set up a version manager for Node. I like tj/n, but NVM is probably the most popular in the Node community. That will let you continue to use an old version of node to build your older projects, and the latest (or beta) versions of node with your new stuff.

mistermat's avatar

If anyone else is curious, I've tested with different Elixir and node.js versions, and it turns out that at least for Elixir 6.0.0-2, you will need to stick with Node v6.x.

Please or to participate in this conversation.