Unable to build using netlify/actions/cli
Issue with building on Github workflow spawn bash ENOENT
. Tried setting default shell to bash and still getting the issue.
- Site name:
dev-tile-cto.netlify.app
- Build on Github actions using
netlify/actions/cli build
- Error Log below
────────────────────────────────────────────────────────────────
2. build.command from netlify.toml
────────────────────────────────────────────────────────────────
$ CI=true npm run build
────────────────────────────────────────────────────────────────
"build.command" failed
────────────────────────────────────────────────────────────────
Error message
Command failed with ENOENT: CI=true npm run build
spawn bash ENOENT
Error location
In build.command from netlify.toml:
CI=true npm run build
Resolved config
build:
command: CI=true npm run build
commandOrigin: config
publish: /github/workspace/.next
publishOrigin: ui
functions:
'*':
external_node_modules:
- config
included_files:
- config/*.json
- locales/*.json
- productCatalogs/*.json
node_bundler: esbuild
next_api_health:
node_bundler: zisi
next_image:
node_bundler: zisi
headers:
- for: /*
values:
X-Robots-Tag: noindex
headersOrigin: config
plugins:
- inputs: {}
origin: ui
package: '@netlify/plugin-nextjs'