Debugging on the container, there is not /root/build_heroku/parts/hello-node-snap/install/lib/node_modules/.staging/@heroku/, so chown /root/build_heroku/parts/hello-node-snap/install/lib/node_modules/.staging/@heroku/linewrap-6d8b1b65 of course fails.
Debugging on the container, there is not /root/build_ heroku/ parts/hello- node-snap/ install/ lib/node_ modules/ .staging/ @heroku/ , so chown /root/build_ heroku/ parts/hello- node-snap/ install/ lib/node_ modules/ .staging/ @heroku/ linewrap- 6d8b1b65 of course fails.