Open LiliwoL opened 1 year ago
same here, a lot of warnings:
Step 5/12 : RUN yarn -s ---> Running in 8cb1b1d19e00 warning Pattern ["redux-thunk@latest"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-redux-thunk-2.3.0-51c2c19a185ed5187aaa9a2d08b666d0d6467622-integrity/node_modules/redux-thunk" as pattern ["redux-thunk@^2.3.0"]. This could result in non-deterministic behavior, skipping. warning " > bootstrap@4.5.3" has unmet peer dependency "jquery@1.9.1 - 3". warning " > bootstrap@4.5.3" has unmet peer dependency "popper.js@^1.16.1". warning " > react-idle-timer@4.5.0" has unmet peer dependency "prop-types@>=15". warning " > @testing-library/user-event@7.2.1" has unmet peer dependency "@testing-library/dom@>=5". The command '/bin/sh -c yarn -s' returned a non-zero code: 1
Any update on this? Even I'm facing the same issue.
i also facing this issue, is there anyone that already solve this?
I am facing this problem anyone knows how to fix this issue?
[build 4/5] RUN yarn -s:
10 1.152 warning Pattern ["redux-thunk@latest"] is trying to unpack in the same destination "/usr/local/share/.cache/yarn/v6/npm-redux-thunk-2.4.2-b9d05d11994b99f7a91ea223e8b04cf0afa5ef3b-integrity/node_modules/redux-thunk" as pattern ["redux-thunk@^2.4.2"]. This could result in non-deterministic behavior, skipping.
10 49.42 error @rollup/plugin-babel@6.0.3: The engine "node" is incompatible with this module. Expected version ">=14.0.0". Got "13.12.0"
10 49.42 error Found incompatible module.
executor failed running [/bin/sh -c yarn -s]: exit code: 1 ERROR: Service 'web' failed to build : Build failed
here, same, tried RUN yarn cache clean --all but still the same
If you open the web/Dockerfile you can remove the '-s' from the RUN yarn commands to get the full error messages. In my case those were:
add RUN apk add --update python make g++ && rm -rf /var/cache/apk/*
before RUN yarn
in the web/Dockerfile, to add python to the instance
Then in the build step, I also had the error:
Node 13 (used in Dockerfile) is only compatible with node-sass between version 4 and 5, but the application pulls 7. So edit the web/package.json node-sass version to "node-sass": "^4.0.0",
This did the trick for me to get it running. But for the long term I would recommend the developer to upgrade to a newer node version and switch from 'node-sass' to 'sass', as the former is deprecated.
If you open the web/Dockerfile you can remove the '-s' from the RUN yarn commands to get the full error messages. In my case those were:
- gyp ERR! missing Python
add
RUN apk add --update python make g++ && rm -rf /var/cache/apk/*
beforeRUN yarn
in the web/Dockerfile, to add python to the instanceThen in the build step, I also had the error:
- Error: Node Sass version 7.0.0 is incompatible with ^4.0.0
Node 13 (used in Dockerfile) is only compatible with node-sass between version 4 and 5, but the application pulls 7. So edit the web/package.json node-sass version to
"node-sass": "^4.0.0",
This did the trick for me to get it running. But for the long term I would recommend the developer to upgrade to a newer node version and switch from 'node-sass' to 'sass', as the former is deprecated.
Thank you sir :D
Hi,
i've read closed issues about same problem, but nothing change. Always the same during yarn -s process, i've got many unmet dependencies.
I tried to fix them manually, but nothing work that way. Sure, it's about versions.
I'll wait the correct fix to give it another try. Regards.