pterodactyl / development

Development environment setup for Pterodactyl. This is used internally by our development team to ensure getting Pterodactyl running in a development environment is a painless as possible.
Apache License 2.0
30 stars 30 forks source link

NodeJS version out of date in Dockerfile #14

Open garrettsummerfi3ld opened 1 year ago

garrettsummerfi3ld commented 1 year ago

During the setup of the development environment. There is an error that occurs when you run setup-pterodactyl, output here:

yarn install v1.22.19
[1/5] Validating package.json...
error @pterodactyl/panel@: The engine "node" is incompatible with this module. Expected version ">=16.0". Got "14.20.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Restarting periodic command scheduler: cronStopping periodic command scheduler: cron.
Starting periodic command scheduler: cron.

This should be fixed by updating the NodeJS version to 16.X or higher.