Docs
Overview
Troubleshooting
Troubleshooting
#Error: listen EADDRINUSE
The port is already in use. Please choose a different port.
#Production build is only available in production mode.
This occurs when you try to run the server in production mode, but process.env.NODE_ENV
is not production
.
#$store is not defined
$store is a feature that uses the serpack compiler, so if you don't use the serpack compiler, this feature won't work properly.
Plain
{
"scripts": {
- "dev": "zely dev",
+ "dev": "zely dev --serpack",
}
}
#A crash occurred while applying the optimization plugin.
This error occurred due to a conflict with another plugin while applying @zely-js/core:store.
Try one of the following actions:
- Remove the plugin that is expected to conflict.
- Disable the serpack compiler and remove the code that uses $store.
#Error occurred while compiling server-side rendered HTML.
This error occurs when server-side rendering fails when compiling HTML.
You can ignore this error. Also, since
4.0.0-next.22
, no errors are output when server-side rendering fails.