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

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

@tran-the-lam-uet

Description

@tran-the-lam-uet

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!

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions