atlas2 icon indicating copy to clipboard operation
atlas2 copied to clipboard

docker-compose up fails

Open twhiston opened this issue 7 years ago • 6 comments

Currently with a fresh checkout running docker-compose up will fail on the npm step.

Step 5/6 : RUN npm install --quiet
 ---> Running in 0d16a75a6eb2
npm WARN deprecated [email protected]: 🙌  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update! 
npm WARN deprecated [email protected]: Please see v6.X+ at https://www.npmjs.com/org/sendgrid
npm WARN deprecated [email protected]: All versions below 4.0.1 of Nodemailer are deprecated. See https://nodemailer.com/status/
npm WARN deprecated [email protected]: This project is unmaintained
npm WARN deprecated [email protected]: Package no longer supported. Contact [email protected] for more info.
npm WARN deprecated [email protected]: This project is unmaintained
npm WARN deprecated [email protected]: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm WARN deprecated [email protected]: This project is unmaintained
npm WARN deprecated [email protected]: Use uuid module instead
npm WARN deprecated [email protected]: This project is unmaintained
npm WARN deprecated [email protected]: If using 2.x branch, please upgrade to at least 2.1.6 to avoid a serious bug with socket data flow and an import issue introduced in 2.1.0
npm ERR! code ETARGET
npm ERR! notarget No matching version found for [email protected]
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget 
npm ERR! notarget It was specified as a dependency of 'Atlas2'
npm ERR! notarget 

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-07-18T11_51_01_769Z-debug.log
ERROR: Service 'web' failed to build: The command '/bin/sh -c npm install --quiet' returned a non-zero code: 1

twhiston avatar Jul 18 '18 11:07 twhiston

I just had that happen too. If you get a reply how to fix this would you be kind enough to let me know too? :-)

mmatijas avatar Jul 25 '18 16:07 mmatijas

ME again. Its a version of [email protected] that is wrong. The latest is 2.1.1. This implies the developer had early access to a newer version :-) So we gotta go check out [email protected] is hiding... any ideas

mmatijas avatar Jul 25 '18 17:07 mmatijas

I'm travelling at the moment. What you may want to do is to switch to the branch https://github.com/LeadingEdgeForum/atlas2/tree/v2-service-branch and try to run docker there.

Master contains some work in progress.

cdaniel avatar Jul 25 '18 19:07 cdaniel

All cool. I’ll have another go and let you know.

Best Regards Mladen

Sent from M's iPhone. I blame my phone for any spelling mistakes

On 25 Jul 2018, at 21:31, Chris [email protected] wrote:

I'm travelling at the moment. What you may want to do is to switch to the branch https://github.com/LeadingEdgeForum/atlas2/tree/v2-service-branch and try to run docker there.

Master contains some work in progress.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

mmatijas avatar Jul 25 '18 19:07 mmatijas

@mmatijas if you open the package.json file you can change "socket.io-client": "2.1.4" to "socket.io-client": "2.1.1" that fixed it for me.

leigit avatar Jul 29 '18 22:07 leigit

@leigit @mmatijas please be adviced that master is some unfinished work in progress. It will not work. Following command list got me the tool running:

 git clone https://github.com/LeadingEdgeForum/atlas2.git
 cd atlas2/
 git checkout v2-service-branch
 docker-compose up

However, I managed to reproduce the issue after updating Docker deamon to 18.06 and trying to build from master immediately. After resetting docker (removing all data), the new build from the v2-service-branch worked fine.

I suspect this is a problem with cached docker images, but I do not have sufficient command of docker to propose anything beyond docker reset (Docker icon -> Preferences -> Reset -> Reset disk image).

cdaniel avatar Jul 30 '18 06:07 cdaniel