I’m unable to update is-webportal.netlify.app after relinking Netlify to a new repository location. (The repo moved from a personal github to an organizational github with only trivial content changes.)
One difference I see in the build logs is @netlify/build 29.58.4 on January 23rd and @netlify/build 29.58.9 today.
Another change is that I see (immediately after) “❯ Context production” a new section:
11:46:46 AM: ❯ Installing plugins
11:46:46 AM: - @netlify/plugin-gatsby@3.8.2
after which I see this error message and stacktrace:
11:46:57 AM: Dependencies installation error
11:46:57 AM: ────────────────────────────────────────────────────────────────
11:46:57 AM:
11:46:57 AM: Error message
11:46:57 AM: Error while installing dependencies in /opt/build/repo/.netlify/plugins/
11:46:57 AM:
11:46:57 AM: > @parcel/watcher@2.5.1 install /opt/build/repo/.netlify/plugins/node_modules/@parcel/watcher
11:46:57 AM: > node scripts/build-from-source.js
11:46:57 AM:
11:46:57 AM: > sharp@0.32.6 install /opt/build/repo/.netlify/plugins/node_modules/sharp
11:46:57 AM: > (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
11:46:57 AM:
11:46:57 AM: /opt/build/repo/.netlify/plugins/node_modules/tar-fs/index.js:6
11:46:57 AM: const win32 = (global.Bare?.platform || process.platform) === ‘win32’
11:46:57 AM: ^
11:46:57 AM:
11:46:57 AM: SyntaxError: Unexpected token ‘.’
11:46:57 AM: at wrapSafe (internal/modules/cjs/loader.js:1072:16)
11:46:57 AM: at Module._compile (internal/modules/cjs/loader.js:1122:27)
11:46:57 AM: at Object.Module._extensions…js (internal/modules/cjs/loader.js:1178:10)
11:46:57 AM: at Module.load (internal/modules/cjs/loader.js:1002:32)
11:46:57 AM: at Function.Module._load (internal/modules/cjs/loader.js:901:14)
11:46:57 AM: at Module.require (internal/modules/cjs/loader.js:1044:19)
11:46:57 AM: at require (internal/modules/cjs/helpers.js:77:18)
11:46:57 AM: at Object. (/opt/build/repo/.netlify/plugins/node_modules/sharp/install/libvips.js:18:15)
11:46:57 AM: at Module._compile (internal/modules/cjs/loader.js:1158:30)
11:46:57 AM: at Object.Module._extensions…js (internal/modules/cjs/loader.js:1178:10)
And I also see some warning messages starting with “npm WARN notsup Unsupported engine for @netlify/plugin-gatsby@3.8.2” due to my old Node version “node”:“12.16.1” (which is the thing I plan to work on next, but I need the site to stay updatable for a few more weeks before it gets upgraded!)