MikeRogers0 / Ruby-Meetup-Calendar

List all the current Ruby Meetups
https://ruby-meetup-calendar.mikerogers.io
MIT License
23 stars 9 forks source link

Add node-version file #61

Closed mathewdbutton closed 3 years ago

mathewdbutton commented 3 years ago

Problem

I didn't know which version of node I needed

Result

When running yarn I got error tailwindcss@2.0.2: The engine "node" is incompatible with this module. Expected version ">=12.13.0". Got "12.1.0"

Solution

Added .node-version file to indicate the node version being used.

I don't know what version of node you were using to build this, so I just added the one I had that worked.

MikeRogers0 commented 3 years ago

Awesome, thank you @mathewdbutton ! I'm running v16.0.0 so I updated the version to match my current local version :)

Interestingly, I ran into a similar problem with Tailwind on another project, I'm working on replacing it on this project ( https://github.com/MikeRogers0/Ruby-Meetup-Calendar/pull/58 )