Skip to content
New issue

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

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

Already on GitHub? # to your account

[BUG]npm version conflict #194

Open
ice4prince opened this issue Jan 22, 2025 · 2 comments
Open

[BUG]npm version conflict #194

ice4prince opened this issue Jan 22, 2025 · 2 comments
Assignees

Comments

@ice4prince
Copy link

I'm trying to run locally and just installed npm version 6.14.4. It looks like I have a version conflict and cannot run 'npm install'

npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

> puppeteer@24.1.0 postinstall /home/ice4prince/texas_dps/texas-dps-scheduler/node_modules/puppeteer
> node install.mjs

/home/ice4prince/texas_dps/texas-dps-scheduler/node_modules/puppeteer/install.mjs:34
  const {downloadBrowsers} = await importInstaller();
                             ^^^^^

SyntaxError: await is only valid in async function
    at Module._compile (internal/modules/cjs/loader.js:723:23)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
npm WARN notsup Unsupported engine for dotenv@16.4.7: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: dotenv@16.4.7
npm WARN notsup Unsupported engine for puppeteer@24.1.0: wanted: {"node":">=18"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: puppeteer@24.1.0
npm WARN notsup Unsupported engine for yaml@2.7.0: wanted: {"node":">= 14"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: yaml@2.7.0
npm WARN notsup Unsupported engine for @puppeteer/browsers@2.7.0: wanted: {"node":">=18"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @puppeteer/browsers@2.7.0
npm WARN notsup Unsupported engine for cosmiconfig@9.0.0: wanted: {"node":">=14"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: cosmiconfig@9.0.0
npm WARN notsup Unsupported engine for puppeteer-core@24.1.0: wanted: {"node":">=18"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: puppeteer-core@24.1.0
npm WARN notsup Unsupported engine for proxy-agent@6.5.0: wanted: {"node":">= 14"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: proxy-agent@6.5.0
npm WARN notsup Unsupported engine for yargs@17.7.2: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: yargs@17.7.2
npm WARN notsup Unsupported engine for agent-base@7.1.3: wanted: {"node":">= 14"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: agent-base@7.1.3
npm WARN notsup Unsupported engine for http-proxy-agent@7.0.2: wanted: {"node":">= 14"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: http-proxy-agent@7.0.2
npm WARN notsup Unsupported engine for https-proxy-agent@7.0.6: wanted: {"node":">= 14"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: https-proxy-agent@7.0.6
npm WARN notsup Unsupported engine for lru-cache@7.18.3: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: lru-cache@7.18.3
npm WARN notsup Unsupported engine for pac-proxy-agent@7.1.0: wanted: {"node":">= 14"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: pac-proxy-agent@7.1.0
npm WARN notsup Unsupported engine for socks-proxy-agent@8.0.5: wanted: {"node":">= 14"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: socks-proxy-agent@8.0.5
npm WARN notsup Unsupported engine for pac-resolver@7.0.1: wanted: {"node":">= 14"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: pac-resolver@7.0.1
npm WARN notsup Unsupported engine for get-uri@6.0.4: wanted: {"node":">= 14"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: get-uri@6.0.4
npm WARN notsup Unsupported engine for data-uri-to-buffer@6.0.2: wanted: {"node":">= 14"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: data-uri-to-buffer@6.0.2
npm WARN notsup Unsupported engine for degenerator@5.0.1: wanted: {"node":">= 14"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: degenerator@5.0.1
npm WARN notsup Unsupported engine for ip-address@9.0.5: wanted: {"node":">= 12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: ip-address@9.0.5
npm WARN notsup Unsupported engine for cliui@8.0.1: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: cliui@8.0.1
npm WARN notsup Unsupported engine for yargs-parser@21.1.1: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: yargs-parser@21.1.1
npm WARN notsup Unsupported engine for fs-extra@10.1.0: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: fs-extra@10.1.0
npm WARN notsup Unsupported engine for @eslint/create-config@1.4.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @eslint/create-config@1.4.0
npm WARN notsup Unsupported engine for @eslint/eslintrc@3.2.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @eslint/eslintrc@3.2.0
npm WARN notsup Unsupported engine for @eslint/js@9.18.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @eslint/js@9.18.0
npm WARN notsup Unsupported engine for @typescript-eslint/eslint-plugin@8.21.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/eslint-plugin@8.21.0
npm WARN notsup Unsupported engine for @typescript-eslint/parser@8.21.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/parser@8.21.0
npm WARN notsup Unsupported engine for eslint@9.18.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: eslint@9.18.0
npm WARN notsup Unsupported engine for eslint-plugin-prettier@5.2.3: wanted: {"node":"^14.18.0 || >=16.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: eslint-plugin-prettier@5.2.3
npm WARN notsup Unsupported engine for globals@15.14.0: wanted: {"node":">=18"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: globals@15.14.0
npm WARN notsup Unsupported engine for prettier@3.4.2: wanted: {"node":">=14"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: prettier@3.4.2
npm WARN notsup Unsupported engine for typescript@5.7.3: wanted: {"node":">=14.17"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: typescript@5.7.3
npm WARN notsup Unsupported engine for typescript-eslint@8.21.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: typescript-eslint@8.21.0
npm WARN notsup Unsupported engine for espree@10.3.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: espree@10.3.0
npm WARN notsup Unsupported engine for globals@14.0.0: wanted: {"node":">=18"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: globals@14.0.0
npm WARN notsup Unsupported engine for eslint-visitor-keys@4.2.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: eslint-visitor-keys@4.2.0
npm WARN notsup Unsupported engine for @typescript-eslint/utils@8.21.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/utils@8.21.0
npm WARN notsup Unsupported engine for ts-api-utils@2.0.0: wanted: {"node":">=18.12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: ts-api-utils@2.0.0
npm WARN notsup Unsupported engine for @eslint-community/regexpp@4.12.1: wanted: {"node":"^12.0.0 || ^14.0.0 || >=16.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @eslint-community/regexpp@4.12.1
npm WARN notsup Unsupported engine for @typescript-eslint/type-utils@8.21.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/type-utils@8.21.0
npm WARN notsup Unsupported engine for @typescript-eslint/visitor-keys@8.21.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/visitor-keys@8.21.0
npm WARN notsup Unsupported engine for @typescript-eslint/scope-manager@8.21.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/scope-manager@8.21.0
npm WARN notsup Unsupported engine for @typescript-eslint/types@8.21.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/types@8.21.0
npm WARN notsup Unsupported engine for @typescript-eslint/typescript-estree@8.21.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/typescript-estree@8.21.0
npm WARN notsup Unsupported engine for minimatch@9.0.5: wanted: {"node":">=16 || 14 >=14.17"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: minimatch@9.0.5
npm WARN notsup Unsupported engine for @eslint-community/eslint-utils@4.4.1: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @eslint-community/eslint-utils@4.4.1
npm WARN notsup Unsupported engine for eslint-visitor-keys@3.4.3: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: eslint-visitor-keys@3.4.3
npm WARN notsup Unsupported engine for @eslint/config-array@0.19.1: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @eslint/config-array@0.19.1
npm WARN notsup Unsupported engine for @eslint/core@0.10.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @eslint/core@0.10.0
npm WARN notsup Unsupported engine for @eslint/plugin-kit@0.2.5: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @eslint/plugin-kit@0.2.5
npm WARN notsup Unsupported engine for @humanfs/node@0.16.6: wanted: {"node":">=18.18.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @humanfs/node@0.16.6
npm WARN notsup Unsupported engine for @humanwhocodes/module-importer@1.0.1: wanted: {"node":">=12.22"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @humanwhocodes/module-importer@1.0.1
npm WARN notsup Unsupported engine for @humanwhocodes/retry@0.4.1: wanted: {"node":">=18.18"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @humanwhocodes/retry@0.4.1
npm WARN notsup Unsupported engine for eslint-scope@8.2.0: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: eslint-scope@8.2.0
npm WARN notsup Unsupported engine for file-entry-cache@8.0.0: wanted: {"node":">=16.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: file-entry-cache@8.0.0
npm WARN notsup Unsupported engine for @eslint/object-schema@2.1.5: wanted: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @eslint/object-schema@2.1.5
npm WARN notsup Unsupported engine for @humanwhocodes/retry@0.3.1: wanted: {"node":">=18.18"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @humanwhocodes/retry@0.3.1
npm WARN notsup Unsupported engine for @humanfs/core@0.19.1: wanted: {"node":">=18.18.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @humanfs/core@0.19.1
npm WARN notsup Unsupported engine for flat-cache@4.0.1: wanted: {"node":">=16"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: flat-cache@4.0.1
npm WARN notsup Unsupported engine for synckit@0.9.2: wanted: {"node":"^14.18.0 || >=16.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: synckit@0.9.2
npm WARN notsup Unsupported engine for @pkgr/core@0.1.1: wanted: {"node":"^12.20.0 || ^14.18.0 || >=16.0.0"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @pkgr/core@0.1.1
npm WARN notsup Unsupported engine for @cspotcode/source-map-support@0.8.1: wanted: {"node":">=12"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm WARN notsup Not compatible with your version of node/npm: @cspotcode/source-map-support@0.8.1

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! puppeteer@24.1.0 postinstall: `node install.mjs`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the puppeteer@24.1.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ice4prince/.npm/_logs/2025-01-22T05_34_57_630Z-debug.log
Copy link

Branch issue-194-_BUG created!

@ice4prince ice4prince changed the title [BUG] [BUG]npm version conflict Jan 22, 2025
Repository owner deleted a comment from create-issue-branch bot Jan 22, 2025
@phamleduy04
Copy link
Owner

You are using a very old node version (node v10). Please upgrade to LTS version or minimum node 20

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

No branches or pull requests

2 participants