#[fixed mydelf] package.json help

2 messages · Page 1 of 1 (latest)

wet stratus
#

i have this

{ "name": "discordjstest", "version": "1.0.0", "main": "src/index.js", "author": "Jake Runzer", "license": "MIT", "scripts": { "dev": "nodemon .", "start": "node ." }, "dependencies": { "@discordjs/rest": "1.3.0", "discord-api-types": "0.37.12", "discord.js": "14.6.0" }, "devDependencies": { "nodemon": "^2.0.12" }, "engines": { "node": "18.10.0" }}

bit it keep saying need node >= 18.10.0 got 18.9.0

log

#12 0.903 yarn install v1.22.19

#12 0.955 [1/5] Validating package.json...

#12 0.960 error [email protected]: The engine "node" is incompatible with this module. Expected version "18.10.0". Got "18.9.0"

#12 0.974 error Found incompatible module.

#12 0.974 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

#12 ERROR: executor failed running [/bin/bash -ol pipefail -c yarn install --frozen-lockfile]: exit code: 1

-----

wet stratus
#

[fixed] package.json help