Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

416
Views
Module not found: Can't resolve 'aws4'

My project have two folder

  1. client
  2. server

both client and server runs but sometime on client when i visit any page so on the terminal the following errors shows how can fix these errors

wait  - compiling... 
warn  -

../server/node_modules/mongodb/lib/core/auth/mongodb_aws.js 
Module not found: Can't resolve 'aws4' in 'C:\Users\MyName\Desktop\Project\server\node_modules\mongodb\lib\core\auth'

../server/node_modules/mongodb/lib/operations/connect.js
Module not found: Can't resolve 'mongodb-client-encryption' in 'C:\Users\MyName\Desktop\Project\server\node_modules\mongodb\lib\operations'
 
../server/node_modules/mongoose/lib/index.js
Critical dependency: the request of a dependency is an expression

../server/node_modules/require_optional/index.js
Critical dependency: the request of a dependency is an expression
 
../server/node_modules/require_optional/index.js
Critical dependency: the request of a dependency is an expression
 
../server/node_modules/require_optional/index.js
Critical dependency: the request of a dependency is an expression
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!