build
build copied to clipboard
Plugin "@netlify/build" internal error
Describe the bug
Hi I have installed the netlify CLI in a new laptop(Windows 11). I have the following error when I run netlify dev, but if I run npm run dev it works without problem
Plugin "@netlify/build" internal error ────────────────────────────────────────────────────────────────
Error message Plugin exited with exit code 1 and signal null. The plugin might have exited due to a bug terminating the process, such as an infinite loop. The plugin might also have explicitly terminated the process, for example with process.exit(). Plugin methods should instead: - on success: return - on failure: call utils.build.failPlugin() or utils.build.failBuild()
Plugin details Package: @netlify/build Version: 29.21.1 Repository: https://github.com/netlify/build.git npm link: https://www.npmjs.com/package/@netlify/build Report issues: https://github.com/netlify/build/issues
Error location While loading "@netlify/build" from core
Steps to reproduce
- install netlify cli by running npm install netlify-cli -g
- wait for it to finish installed
- run the command netlify dev
CLI command and flags
netlify dev
Configuration
[build] functions = "functions"
[[plugins]] package = "@netlify/plugin-emails"
CLI output
Plugin "@netlify/build" internal error ────────────────────────────────────────────────────────────────
Error message Plugin exited with exit code 1 and signal null. The plugin might have exited due to a bug terminating the process, such as an infinite loop. The plugin might also have explicitly terminated the process, for example with process.exit(). Plugin methods should instead: - on success: return - on failure: call utils.build.failPlugin() or utils.build.failBuild()
Plugin details Package: @netlify/build Version: 29.21.1 Repository: https://github.com/netlify/build.git npm link: https://www.npmjs.com/package/@netlify/build Report issues: https://github.com/netlify/build/issues
Error location While loading "@netlify/build" from core
Environment
System: OS: Windows 10 10.0.22621 CPU: (12) x64 13th Gen Intel(R) Core(TM) i7-1365U Memory: 7.68 GB / 15.60 GB Binaries: Node: 20.6.1 - C:\Program Files\nodejs\node.EXE npm: 9.8.1 - C:\Program Files\nodejs\npm.CMD