Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Cannot find module '@aws-sdk/middleware-retry' #198

Open
tran-the-lam-uet opened this issue Sep 9, 2023 · 0 comments
Open

Cannot find module '@aws-sdk/middleware-retry' #198

tran-the-lam-uet opened this issue Sep 9, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@tran-the-lam-uet
Copy link

tran-the-lam-uet commented Sep 9, 2023

When I install by Get Started, after I run singularity init, terminal screen show log error:

node:internal/modules/cjs/loader:1080
  throw err;
  ^

Error: Cannot find module '@aws-sdk/middleware-retry'
Require stack:
- /usr/local/lib/node_modules/@techgreedy/singularity/dist/src/common/s3/S3RetryStrategy.js
- /usr/local/lib/node_modules/@techgreedy/singularity/dist/src/deal-preparation/scanner/Scanner.js
- /usr/local/lib/node_modules/@techgreedy/singularity/dist/src/deal-preparation/worker/MoveProcessor.js
- /usr/local/lib/node_modules/@techgreedy/singularity/dist/src/deal-preparation/worker/GenerationProcessor.js
- /usr/local/lib/node_modules/@techgreedy/singularity/dist/src/common/BaseService.js
- /usr/local/lib/node_modules/@techgreedy/singularity/dist/src/deal-preparation/DealPreparationService.js
- /usr/local/lib/node_modules/@techgreedy/singularity/dist/src/singularity.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:121:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/@techgreedy/singularity/dist/src/common/s3/S3RetryStrategy.js:7:28)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/usr/local/lib/node_modules/@techgreedy/singularity/dist/src/common/s3/S3RetryStrategy.js',
    '/usr/local/lib/node_modules/@techgreedy/singularity/dist/src/deal-preparation/scanner/Scanner.js',
    '/usr/local/lib/node_modules/@techgreedy/singularity/dist/src/deal-preparation/worker/MoveProcessor.js',
    '/usr/local/lib/node_modules/@techgreedy/singularity/dist/src/deal-preparation/worker/GenerationProcessor.js',
    '/usr/local/lib/node_modules/@techgreedy/singularity/dist/src/common/BaseService.js',
    '/usr/local/lib/node_modules/@techgreedy/singularity/dist/src/deal-preparation/DealPreparationService.js',
    '/usr/local/lib/node_modules/@techgreedy/singularity/dist/src/singularity.js'
  ]
}

Node.js v18.17.1

Please help me fix that!

@tran-the-lam-uet tran-the-lam-uet added the bug Something isn't working label Sep 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants