You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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()
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()
@DanZhangSitecore && @jimmend - Sorry to bump but: Looks like it's the Node version - my company's project uses 20.6.x and plugins fail. I'm investigating to see if it's related to this, and if our project can be downgraded to 18.
For verification, I made a test project (https://github.com/michaelvcolianna/svelte-test) - second commit with the plugin addition worked. Third commit specifying Node 20.6.x failed in the same way.
Are you able to remove the Node 20 specifications in your projects and see if they work?
Updated: It's 20.6.0 itself. Updating to latest 20 did not break our project & the plugin works.
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
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
The text was updated successfully, but these errors were encountered: