offset-dev / strapi-calendar

Visualize your Strapi content in month, week or daily view
35 stars 12 forks source link

Doesn't run under Node 18, breaks Strapi example app Foodadvisor #19

Closed sonicviz closed 1 year ago

sonicviz commented 1 year ago

https://github.com/strapi/foodadvisor

Tried installing under Node 18.x Even after updating strapi-calendar version from 0.0.8 to 0.0.9 it still fails

E:\Source Control\AI Apps\Back End\Strapi\foodadvisor\api>yarn && yarn seed && yarn develop yarn install v1.21.1 warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json. [1/5] Validating package.json... [2/5] Resolving packages... [3/5] Fetching packages... error @offset-dev/strapi-calendar@0.0.9: The engine "node" is incompatible with this module. Expected version ">=12.x.x <=16.x.x". Got "18.12.1" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/install for documentation

LuisRodriguezLD commented 1 year ago

Hey, sorry the delay.. I have #22 covering this

Would you mind giving it a go to see if it meets your use case? You can update your package.json to

"@offset-dev/strapi-calendar": "github:offset-dev/strapi-calendar#bug/adjust-node-restrictions" 
LuisRodriguezLD commented 1 year ago

Fixed in #22