Npm ERR! A complete log of this run can be found in: Npm ERR! See /root/.npm/eresolve-report.txt for a full report. Npm ERR! to accept an incorrect (and potentially broken) dependency resolution. Npm ERR! this command with -force, or -legacy-peer-deps Npm ERR! Fix the upstream dependency conflict, or retry Npm ERR! peer from ERR! node_modules/react-leaflet-search Npm ERR! Conflicting peer dependency: ERR! node_modules/prop-types Npm ERR! peer from ERR! node_modules/check-prop-types Npm ERR! Found: ERR! node_modules/prop-types Npm ERR! ERESOLVE unable to resolve dependency tree When i run npm without -silent i get this error: npm notice When i add there 'RUN npm install -g - still get the same error How i can force install of 7.4.0 or how to install 7.4.0? so deployment could go further?įrontend dockerfile looks like this: FROM node:latest I don't know why i cannot instal latest version? I have newest node.js where npm is 7.4.0. Npm notice Run `npm install -g to update!ĮRROR: Service 'pet-frontend' failed to build : The command '/bin/sh -c npm install -silent' returned a non-zero code: 1įailed to deploy 'Compose: docker-compose.yml': `docker-compose` process finished with exit code 1 Npm notice New patch version of npm available! 7.4.0 -> 7.4.3 When i run docker-compose.yml i start with docker-compose up, it is instaling all packages untill it goes to the step where it tries to instal npm, and i get an error: npm notice Now I want to run it on my mac, and there is an issue. I have project on github, made by softwarehouse - its MVP of an app made with Django Rest framework, React app, Docker. I'm a newbie in coding so please take it easy on me.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |