Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: nodejs-guestbook buildpacks builder not working (#1081)
running `skaffold build -p buildpacks` in the `nodejs/nodejs-guestbook` app from an M1 Mac always results in the following error: ``` ... [builder] npm ERR! A complete log of this run can be found in: [builder] npm ERR! /home/cnb/.npm/_logs/2022-07-30T07_44_41_031Z-debug-0.log [builder] -------------------------------------------------------------------------------- [builder] Sorry your project couldn't be built. [builder] Our documentation explains ways to configure Buildpacks to better recognise your project: [builder] -> https://github.com/GoogleCloudPlatform/buildpacks/blob/main/README.md [builder] If you think you've found an issue, please report it: [builder] -> https://github.com/GoogleCloudPlatform/buildpacks/issues/new [builder] -------------------------------------------------------------------------------- [builder] ERROR: failed to build: exit status 1 ``` Setting the nodejs version explicitly according to GoogleCloudPlatform/buildpacks#215 fixes the issue.
- Loading branch information