timer/promises module not found

0

I'm using a pipline to build my project create with aws lex bot; I used to work fine, but lately I faced this problem; the pipeline stops in the build stage; the problem is that

[Container] 2023/09/04 12:43:15 Running command npm install -g npm /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js npm WARN notsup Unsupported engine for npm@10.0.0: wanted: {"node":"^18.17.0 || >=20.5.0"} (current: {"node":"14.21.3","npm":"6.14.18"}) npm WARN notsup Not compatible with your version of node/npm: npm@10.0.0

  • npm@10.0.0 added 121 packages from 50 contributors, removed 315 packages and updated 143 packages in 10.284s

[Container] 2023/09/04 12:43:36 Running command npx npm ci /usr/local/lib/node_modules/npm/lib/es6/validate-engines.js:31 throw err ^

Error: Cannot find module 'timers/promises'

I tested the node version with CMD and it returns 18.17.1

ayoub
질문됨 8달 전63회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠