Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replit Node outdated #31

Open
xGlitchette opened this issue Jul 31, 2021 · 1 comment
Open

Replit Node outdated #31

xGlitchette opened this issue Jul 31, 2021 · 1 comment

Comments

@xGlitchette
Copy link

--> yarn install
yarn install v1.22.5
[1/4] Resolving packages...
[2/4] Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=14". Got "12.22.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
exit status 1

Is there somehow I can update? I looked around and also tried the Skyblock Facade way (using the tsconfig file) to no avail

@Senither
Copy link
Owner

Senither commented Aug 2, 2021

The chat bridge is unfortunately still written in NodeJS, so the TypeScript solution won't really work, Mineflayer which the bot depends on only works for Node 14+ regardless so rewriting the application in TypeScript won't help too much.

You could try run the index.js using npx with Node 14 instead, to do that you'll need to go to your shell in Replit, then run npx node@14 index.js which should download Node 14 and run the bot using it.

You can also find more information about potential upgrades of Node versions here: https://replit.com/talk/ask/How-Can-I-Update-NodeJS-Version/42698

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants