Netzo Logo

Troubleshooting

Fresh will perform some checks when running in development and throw warnings for the following:

Fresh will perform some checks when running in development and throw warnings for the following:

  • only one _app is allowed per application and it must have a default export
  • only one 500and it must have a default export
  • only one 404 and it must have a default export
  • pascal case or kebab case islands (island name) (this one became obsolete w/ 1.3)
  • routes must have exported handler or component
  • route patterns must be unique
  • route patterns w/ dynamic params must not have conflicts w/ other routes
  • if static override is used, ensure that there is no normal static directory
  • static file conflicts with routes (because static files have higher priority)
  • plugin doesn't call render/renderAsync
  • each defined module in a plugin must be a js/ts module
  • plugins should be present in the build snapshot