Debugging `create_hassio_addon.sh` (solved)

One of the RUN command of my Dockerfile fails when preparing the image with the create_hassio_addon.sh but works perfectly when Hass.io locally builds my add-on.

It seems to be an error linked to npm, but a Google Search didn’t help me much and I would like to see the full log to better understand it (for now, I only see the error). How can I do so?

Thanks!

(my hass.io install is on Raspberry Pi 3 while I am using the script on my Mac)

I found way to debug: follow the steps manually in a temporary docker container from the exact image used by the script (in my case: resin/armhf-alpine:3.5):

docker run -it --rm resin/armhf-alpine:3.5 bash -l