When im routing is giving me error but in development mode is working fine and also when it build it didnt gave any error

PLEASE help us help you by writing a good post!
Website : Company
In homepage is working fine but in the route /aboutus is giving this error :
Application error: a client-side exception has occurred (see the browser console for more information).

also here it is my github repo : https://github.com/BlendEmini/marketing-company

:slight_smile:

Sounds like a code error than a Netlify issue. Netlify doesn’t/cannot control client-side errors. Please debug your code.

For some reason, your code is trying to match the page URL to a regular expresion:

The value of e is /aboutus and you’re asking JavaScript to match it to the depicted Regex. That doesn’t return any matches and thus, it returns null. So you’re essentially doing null.join(' ') which is returning the error.

1 Like