floydspace/serverless-esbuild

Support ESBuild 0.20.0

Closed this issue · 2 comments

Describe the bug

package.json defines conflicting peer dependency: esbuild@0.19.12

To Reproduce

Try to update to "esbuild": "0.20.0",.

Expected behavior

To npm install correctly.

Screenshots or Logs

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: serverless-esbuild@1.50.2
npm ERR! Found: esbuild@0.20.0
npm ERR! node_modules/esbuild
npm ERR!   dev esbuild@"0.20.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer esbuild@">=0.8 <0.20" from serverless-esbuild@1.50.2
npm ERR! node_modules/serverless-esbuild
npm ERR!   dev serverless-esbuild@"1.50.2" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: esbuild@0.19.12
npm ERR! node_modules/esbuild
npm ERR!   peer esbuild@">=0.8 <0.20" from serverless-esbuild@1.50.2
npm ERR!   node_modules/serverless-esbuild
npm ERR!     dev serverless-esbuild@"1.50.2" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Versions (please complete the following information):

  • OS: macOS
  • Serverless Framework Version: 3.38.0
  • Plugin Version: 1.50.2

Additional context

N/A

Thank you for raising it
I gonna close it as it duplicates #522

Okay, great. Thanks, @floydspace. I'll keep an eye on #522.