Open Vaiune opened 3 months ago
This is not related to this module, you can see the issue is from the binary files for Rollup being incorrect for the platform.
You need to force install the dependencies if you're re-installing in a different platform as it needs to download different binaries than what are in your lock file.
pnpm i --force
Thanks for the suggestion, didnt think of that. I tried that and now we are looking at the same error on both architectures that it was the case for x64, any input?
> [base 9/12] RUN pnpm install --force:
32.03
32.03 ERROR Cannot find matching package.json in / or parent directories
32.03
32.03 at findFile (/node_modules/.pnpm/pkg-types@1.0.3/node_modules/pkg-types/dist/index.mjs:45:9)
32.03
32.03
32.03
32.03 ERROR Cannot find matching package.json in / or parent directories
32.03
32.05 ELIFECYCLE Command failed with exit code 1.
same problem over here
#10 0.383 yarn install v1.22.22
#10 0.490 [1/5] Validating package.json...
#10 0.495 [2/5] Resolving packages...
#10 1.194 [3/5] Fetching packages...
#10 2.132 error Error: https://npm.fontawesome.com/@fortawesome/free-regular-svg-icons/-/6.5.2/free-regular-svg-icons-6.5.2.tgz: Request failed "401 Unauthorized"
Describe the bug
Hey,
We implemented this module with our app and it worked great locally but when we needed to deploy to production via docker, our CI failed ( see docker build logs below for a fresh project with only seo module installed ) to build the image.
x64 linux host
arm64 m2 mac
The Dockerfile in essence
Reproduction
create fresh nuxt project, add seo and try to build with docker
System / Nuxt Info