robertjdominguez / ez-resy

Quickly and easily snipe reservations with just a bit of configuration.
15 stars 9 forks source link

Add node version #3

Closed jannemecek closed 5 months ago

jannemecek commented 5 months ago

During initial set up I had issues running the script due to my outdated Node version (which is a requirement for some other projects I'm working on). This adds an explicit .node-version file so NVM or similar can pick up on it.

The error I was getting was the following since the argument was only introduced in Node 20


 node --env-file=.env index.js

node: bad option: --env-file=.env