nearform / titus

Deploy useful features in sprint one
https://nf-titus.netlify.app
Apache License 2.0
60 stars 45 forks source link

Unable to build Docker image #1530

Closed zaremba-tomasz closed 2 years ago

zaremba-tomasz commented 2 years ago

Docker image is not building for each of the Titus app modules. The following error occurs:

> [6/6] RUN npm ci --only=production:                                                                                                                                                                  
#10 0.429 npm WARN config only Use `--omit=dev` to omit dev dependencies from the install.                                                                                                              
#10 5.112 npm WARN ERESOLVE overriding peer dependency                                                                                                                                                  
#10 5.113 npm WARN While resolving: graphql-iso-date@3.6.1                                                                                                                                              
#10 5.113 npm WARN Found: graphql@15.4.0                                                                                                                                                                
#10 5.113 npm WARN node_modules/graphql
#10 5.113 npm WARN   peer graphql@"^14.0.0 || ^15.0.0" from @graphql-tools/batch-delegate@7.0.1
#10 5.113 npm WARN   node_modules/@graphql-tools/batch-delegate
#10 5.113 npm WARN     @graphql-tools/batch-delegate@"^7.0.0" from @graphql-tools/stitch@7.1.9
#10 5.113 npm WARN     node_modules/@graphql-tools/stitch
#10 5.113 npm WARN     1 more (graphql-tools)
#10 5.113 npm WARN   35 more (@graphql-tools/batch-execute, ...)
#10 5.113 npm WARN 
#10 5.113 npm WARN Could not resolve dependency:
#10 5.113 npm WARN peer graphql@"^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0-b || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0" from graphql-iso-date@3.6.1
#10 5.113 npm WARN node_modules/graphql-iso-date
#10 5.113 npm WARN   graphql-iso-date@"^3.6.1" from @nearform/brokeneck-fastify@1.0.0-spinal.8
#10 5.113 npm WARN   node_modules/@nearform/brokeneck-fastify
#10 5.113 npm WARN 
#10 5.113 npm WARN Conflicting peer dependency: graphql@14.7.0
#10 5.113 npm WARN node_modules/graphql
#10 5.113 npm WARN   peer graphql@"^0.5.0 || ^0.6.0 || ^0.7.0 || ^0.8.0-b || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0" from graphql-iso-date@3.6.1
#10 5.113 npm WARN   node_modules/graphql-iso-date
#10 5.114 npm WARN     graphql-iso-date@"^3.6.1" from @nearform/brokeneck-fastify@1.0.0-spinal.8
#10 5.114 npm WARN     node_modules/@nearform/brokeneck-fastify
#10 6.032 npm notice 
#10 6.032 npm notice New minor version of npm available! 8.11.0 -> 8.13.2
#10 6.032 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.13.2>
#10 6.032 npm notice Run `npm install -g npm@8.13.2` to update!
#10 6.032 npm notice 
#10 6.035 npm ERR! code EUSAGE
#10 6.039 npm ERR! 
#10 6.039 npm ERR! `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.
#10 6.039 npm ERR! 
#10 6.039 npm ERR! Invalid: lock file's @apollo/client@3.3.6 does not satisfy @apollo/client@3.2.9
#10 6.039 npm ERR! Invalid: lock file's @wry/equality@0.3.1 does not satisfy @wry/equality@0.2.0
#10 6.039 npm ERR! Invalid: lock file's ts-invariant@0.6.0 does not satisfy ts-invariant@0.5.1
#10 6.039 npm ERR! Missing: @material-ui/lab@4.0.0-alpha.61 from lock file
#10 6.039 npm ERR! Invalid: lock file's @material-ui/core@4.11.2 does not satisfy @material-ui/core@4.12.4
#10 6.039 npm ERR! Invalid: lock file's @material-ui/styles@4.11.2 does not satisfy @material-ui/styles@4.11.5
#10 6.039 npm ERR! Invalid: lock file's @material-ui/system@4.11.2 does not satisfy @material-ui/system@4.12.2
#10 6.039 npm ERR! Invalid: lock file's @material-ui/utils@4.11.2 does not satisfy @material-ui/utils@4.11.3
#10 6.039 npm ERR! Invalid: lock file's csstype@2.6.14 does not satisfy csstype@2.6.20
#10 6.039 npm ERR! Invalid: lock file's jss@10.5.0 does not satisfy jss@10.9.0
#10 6.039 npm ERR! Invalid: lock file's jss-plugin-camel-case@10.5.0 does not satisfy jss-plugin-camel-case@10.9.0
#10 6.039 npm ERR! Invalid: lock file's jss-plugin-default-unit@10.5.0 does not satisfy jss-plugin-default-unit@10.9.0
#10 6.039 npm ERR! Invalid: lock file's jss-plugin-global@10.5.0 does not satisfy jss-plugin-global@10.9.0
#10 6.039 npm ERR! Invalid: lock file's jss-plugin-nested@10.5.0 does not satisfy jss-plugin-nested@10.9.0
#10 6.039 npm ERR! Invalid: lock file's jss-plugin-props-sort@10.5.0 does not satisfy jss-plugin-props-sort@10.9.0
#10 6.039 npm ERR! Invalid: lock file's jss-plugin-rule-value-function@10.5.0 does not satisfy jss-plugin-rule-value-function@10.9.0
#10 6.039 npm ERR! Invalid: lock file's jss-plugin-vendor-prefixer@10.5.0 does not satisfy jss-plugin-vendor-prefixer@10.9.0
#10 6.039 npm ERR! Invalid: lock file's type-fest@0.8.1 does not satisfy type-fest@0.13.1
#10 6.039 npm ERR! Missing: vue@3.0.5 from lock file
#10 6.039 npm ERR! Missing: subscriptions-transport-ws@0.9.19 from lock file
#10 6.039 npm ERR! Invalid: lock file's csstype@3.0.6 does not satisfy csstype@3.1.0
#10 6.039 npm ERR! Invalid: lock file's typescript@4.5.4 does not satisfy typescript@3.9.10
#10 6.039 npm ERR! Missing: backo2@1.0.2 from lock file
#10 6.039 npm ERR! Missing: eventemitter3@3.1.2 from lock file
#10 6.039 npm ERR! Missing: iterall@1.3.0 from lock file
#10 6.040 npm ERR! Missing: @vue/runtime-dom@3.0.5 from lock file
#10 6.040 npm ERR! Missing: @vue/runtime-core@3.0.5 from lock file
#10 6.040 npm ERR! Missing: @vue/reactivity@3.0.5 from lock file
#10 6.040 npm ERR! Missing: type-fest@0.8.1 from lock file
#10 6.040 npm ERR! Missing: type-fest@0.8.1 from lock file
#10 6.040 npm ERR! Missing: bindings@1.5.0 from lock file
#10 6.040 npm ERR! Missing: nan@2.16.0 from lock file
#10 6.040 npm ERR! Missing: file-uri-to-path@1.0.0 from lock file
#10 6.040 npm ERR! 
#10 6.040 npm ERR! Clean install a project
#10 6.040 npm ERR! 
#10 6.040 npm ERR! Usage:
#10 6.040 npm ERR! npm ci
#10 6.040 npm ERR! 
#10 6.040 npm ERR! Options:
#10 6.040 npm ERR! [--no-audit] [--foreground-scripts] [--ignore-scripts]
#10 6.040 npm ERR! [--script-shell <script-shell>]
#10 6.040 npm ERR! 
#10 6.040 npm ERR! aliases: clean-install, ic, install-clean, isntall-clean
#10 6.040 npm ERR! 
#10 6.040 npm ERR! Run "npm help ci" for more info
#10 6.041 
#10 6.041 npm ERR! A complete log of this run can be found in:
#10 6.041 npm ERR!     /root/.npm/_logs/2022-07-08T06_36_14_901Z-debug-0.log