https://rancher.com/ logo
Title
l

lively-noon-83737

09/16/2022, 7:21 PM
Hi everyone, i’m running rancher desktop 1.3.0 on mac with an intel chipset - i’m wondering if anyone has run into a similar error:
------
Dockerfile:8
--------------------
   6 |     RUN npm install 
   7 |     COPY --chown=node . /app/
   8 | >>> RUN npm run build
   9 |     
  10 |     CMD [ "npm", "start" ]
--------------------
error: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 2
FATA[0004] unrecognized image format                    
FATA[0004] error while building image ecom-stack-localdev_dev-proxy: exit status 1
f

fast-garage-66093

09/16/2022, 7:25 PM
This sounds like a
nerdctl
bug that should have been fixed by now. Please upgrade to RD 1.5.1 and see if the problem goes away
l

lively-noon-83737

09/16/2022, 7:25 PM
i’ll try it out and get back to you!
i am still erroring out to the same message
f

fast-garage-66093

09/16/2022, 7:47 PM
Can you provide enough information so that somebody else could try to reproduce?
l

lively-noon-83737

09/22/2022, 7:17 PM
managed to resolve the issue, turns out it wasn’t rancher in the end - thank you for your help!