✖ npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: nodejs-serverless-framework@0.0.1 npm ERR! Found: serverless@3.39.0 npm ERR! node_modules/serverless npm ERR! dev serverless@"^3.24.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer serverless@"^4.0.0" from serverless-offline@14.3.3 npm ERR! node_modules/serverless-offline npm ERR! dev serverless-offline@"14.3.3" 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. npm ERR! npm ERR! See /home/joao/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in: npm ERR! /home/joao/.npm/_logs/2024-10-20T21_04_28_991Z-debug-0.log
Environment: linux, node 16.18.1, framework 3.24.1 (local), plugin 6.2.2, SDK 4.3.2 Docs: docs.serverless.com Support: forum.serverless.com Bugs: github.com/serverless/serverless/issues
Error:
Error: npm install --save-dev serverless-offline@latest
Exited with code 1
at ChildProcess. (/home/joao/projetos/Node.js/2753-serverless-node/node_modules/child-process-ext/spawn.js:38:8)
at ChildProcess.emit (node:events:513:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1100:16)
at Socket. (node:internal/child_process:458:11)
at Socket.emit (node:events:513:28)
at Socket.emit (node:domain:489:12)
at Pipe. (node:net:301:12)
alguém sabe como resolver?