strapi-community / strapi-tool-dockerize

Easy add support for docker to your strapi project
MIT License
543 stars 35 forks source link

Error: Please add a title #125

Closed navabiradar closed 2 weeks ago

navabiradar commented 2 weeks ago

🐛 Bug Report

🤷‍♀️ What did you do

⛔️ Error log

Command failed with exit code 1: npm install pg npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: my-strapi-project@0.1.0 npm ERR! Found: @strapi/plugin-cloud@4.25.11 npm ERR! node_modules/@strapi/plugin-cloud npm ERR! @strapi/plugin-cloud@"5.0.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! @strapi/plugin-cloud@"5.0.0" from the root project npm ERR! npm ERR! Conflicting peer dependency: @strapi/strapi@5.0.0 npm ERR! node_modules/@strapi/strapi npm ERR! peer @strapi/strapi@"^5.0.0 || ^5.0.0-beta || ^5.0.0-alpha || ^5.0.0-rc" from @strapi/plugin-cloud@5.0.0 npm ERR! node_modules/@strapi/plugin-cloud npm ERR! @strapi/plugin-cloud@"5.0.0" 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! npm ERR! For a full report see: npm ERR! /Users/nsb/.npm/_logs/2024-09-20T15_16_42_843Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /Users/nsb/.npm/_logs/2024-09-20T15_16_42_843Z-debug-0.log

🕵️‍♀️ Stack trace

Error: Command failed with exit code 1: npm install pg
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: my-strapi-project@0.1.0
npm ERR! Found: @strapi/plugin-cloud@4.25.11
npm ERR! node_modules/@strapi/plugin-cloud
npm ERR!   @strapi/plugin-cloud@"5.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! @strapi/plugin-cloud@"5.0.0" from the root project
npm ERR! 
npm ERR! Conflicting peer dependency: @strapi/strapi@5.0.0
npm ERR! node_modules/@strapi/strapi
npm ERR!   peer @strapi/strapi@"^5.0.0 || ^5.0.0-beta || ^5.0.0-alpha || ^5.0.0-rc" from @strapi/plugin-cloud@5.0.0
npm ERR!   node_modules/@strapi/plugin-cloud
npm ERR!     @strapi/plugin-cloud@"5.0.0" 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! 
npm ERR! For a full report see:
npm ERR! /Users/nsb/.npm/_logs/2024-09-20T15_16_42_843Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /Users/nsb/.npm/_logs/2024-09-20T15_16_42_843Z-debug-0.log
    at makeError (/Users/nsb/.npm/_npx/c78dafd2dc881eeb/node_modules/execa/lib/error.js:60:11)
    at handlePromise (/Users/nsb/.npm/_npx/c78dafd2dc881eeb/node_modules/execa/index.js:118:26)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async installDependecies (/Users/nsb/.npm/_npx/c78dafd2dc881eeb/node_modules/@strapi-community/dockerize/core/dependencies.js:21:3)
    at async /Users/nsb/.npm/_npx/c78dafd2dc881eeb/node_modules/@strapi-community/dockerize/index.js:63:4

🙇‍♀️ Expected behavior/code

A clear and concise description of what you expected to happen (or code).

👩‍💻 Environment

💡 Possible Solution

📺 Additional context/Screenshots