66651
πŸ‘€
66651
  • λΆ„λ₯˜ 전체보기 (57)
    • note (28)
    • log (13)
    • error (9)
    • etc (7)

λΈ”λ‘œκ·Έ 메뉴

  • ν™ˆ
  • νƒœκ·Έ
  • λ°©λͺ…둝

ν‹°μŠ€ν† λ¦¬

hELLO Β· Designed By μ •μƒμš°.
66651

πŸ‘€

[Node.js] Cannot find module '@aws-sdk/util-endpoints' 였λ₯˜
error

[Node.js] Cannot find module '@aws-sdk/util-endpoints' 였λ₯˜

였λ₯˜

 

1) Cannot find module '@aws-sdk/util-endpoints'

 

2) this.client.send is not a function

 

 

Node.js ν”„λ‘œμ νŠΈμ—μ„œ aws-sdk와 multer-s3 λ₯Ό μ΄μš©ν•΄μ„œ 이미지 μ—…λ‘œλ“œ κΈ°λŠ₯을 κ΅¬ν˜„ν•˜λ˜ 쀑 λ§Œλ‚œ 였λ₯˜μ΄λ‹€.

 

 

ν•΄κ²°

두가지 였λ₯˜λŠ” μ „λΆ€ νŒ¨ν‚€μ§€ κ°„ 버전 ν˜Έν™˜μ΄ μ•ˆλ˜μ–΄μ„œ μƒκΈ°λŠ” μ΄μŠˆμ˜€λ‹€.

 

κ²€μƒ‰ν•΄λ³΄λ‹ˆ multer-s3 2.xλŠ” aws-sdk 2.x와 ν˜Έν™˜λ˜κ³ ,

multer-s3 3.xλŠ” aws-sdk 3.x와 ν˜Έν™˜λœλ‹€κ³  ν•œλ‹€.

 

λ‚΄κ°€ μ„€μΉ˜ν•œ aws-sdkλŠ” 2.x 버전이고 multer-s3 은 3.x λ²„μ „μ΄μ–΄μ„œ λ‹€μš΄κ·Έλ ˆμ΄λ“œκ°€ ν•„μš”ν–ˆλ‹€.

 

μ•„λž˜μ™€ 같이 기쑴에 μ„€μΉ˜λ˜μ–΄ 있던 multer-s3 λ₯Ό μ‚­μ œν•˜κ³ , 2.x λ²„μ „μœΌλ‘œ μ„€μΉ˜ ν•΄μ£Όμ—ˆλ”λ‹ˆ μ—λŸ¬κ°€ ν•΄κ²°λ˜μ—ˆλ‹€.

npm uninstall multer-s3
npm i multer-s3@2.10.0

 

 

μ°Έκ³ 

https://stackoverflow.com/questions/72431773/multers3-is-giving-this-client-send-is-not-a-function-error

 

MulterS3 is giving this.client.send is not a function error

Note: Getting below error in multer s3. This error is pointing NPM module and I really don't understand the issue with this module. I have used upload.single as well as upload.array method to check...

stackoverflow.com

 

https://github.com/anacronw/multer-s3/issues/169

 

this.client.send is not a function · Issue #169 · anacronw/multer-s3

I've been trying to get around this error for a while but it keeps popping up, and S3 keeps billing me the requests even if no files are being uploaded. This is my code: require("dotenv&qu...

github.com

 

μ €μž‘μžν‘œμ‹œ (μƒˆμ°½μ—΄λ¦Ό)
    'error' μΉ΄ν…Œκ³ λ¦¬μ˜ λ‹€λ₯Έ κΈ€
    • [Vite] aws-sdkλ₯Ό μ‚¬μš©ν•œ ν”„λ‘œμ νŠΈμ˜ λΉŒλ“œ μ‹€νŒ¨ ('request' is not exported...)
    • [AWS S3] The bucket does not allow ACLs 였λ₯˜
    • [Three.js] Uncaught TypeError: Failed to resolve module specifier "three"... μ—λŸ¬
    • [Webpack] Cannot find module 'sass' μ—λŸ¬
    66651
    66651
    always awake

    ν‹°μŠ€ν† λ¦¬νˆ΄λ°”