juicyfx / vercel-examples

📦 Example projects using Vercel platform. Using Node.js, PHP and others.
https://f3l1x.io
MIT License
323 stars 150 forks source link

Error shows Nodejs 12.x is needed #103

Closed aldoyh closed 1 year ago

aldoyh commented 2 years ago

Bug report

Just right after cloning the git I ran vercel And this is my output:

Screenshot 2022-10-29 at 12 01 56 AM

Otherwise, amazing work!

Description

TheunisKotze commented 1 year ago

Yup the version in the example project just needs to be bumped to the latest eg { "functions": { "api/index.php": { "runtime": "vercel-php@0.5.2" } } }

aldoyh commented 1 year ago

Yup the version in the example project just needs to be bumped to the latest eg { "functions": { "api/index.php": { "runtime": "vercel-php@0.5.2" } } }

I checked and it is actually the latest version now.

alphaolomi commented 1 year ago

+1

Error: The Runtime "vercel-php@0.3.1" is using "nodejs12.x", which is discontinued. 
Please upgrade your Runtime to a more recent version or consult the author for more details.
f3l1x commented 1 year ago

@alphaolomi Please use 0.5.x release.

f3l1x commented 1 year ago

Hi, can you folks try new versions?

vercel-php@0.6.0 - PHP 8.2.x (https://example-php-8-2.vercel.app/) vercel-php@0.5.3 - PHP 8.1.x (https://example-php-8-1.vercel.app/) vercel-php@0.4.1 - PHP 8.0.x (https://example-php-8-0.vercel.app/) vercel-php@0.3.3 - PHP 7.4.x (https://example-php-7-4.vercel.app/)