Back to Blog
Update node version6/13/2023 ![]() ![]() To be safe, I installed v10.16.0: n 10.16.0Īnd made sure I also have the latest version available, of course: n lts Then you can install any number of Node.js versions to switch between. In your command line tool key in: npm install -g n N let’s you switch between Node.js versions on your machine in the blink of an eye. ![]() I went through a bunch of options (including rewriting their gulpfile in Gulp 4 syntax.) but eventually I resigned myself: I’d have to downgrade Node.js on my machine to make life easier. I eventually figured this out after combing Stack Overflow (really, what would we do without Stack Overflow?). Turns out Gulp 3 is incompatible with the latest version of Node.js (at the time of writing that is 12.16.2. First I thought the version of SASS was the problem (that’s where the installation would hang up), then I thought I could just update everything and hopefully it would work. I downloaded the WordPress theme, noted they are using gulp, popped open the command line (I’ve recently switched to Hyper.js and really enjoying it) and typed in npm install as one does. I encountered a really annoying problem last week while doing a small project for an agency that required downgrading Node.js.
0 Comments
Read More
Leave a Reply. |