0๐
โ
Fixed this by adding process.client
check:
if (process.client) {
require('typeface-nunito-sans');
}
This prevents CSS from being processed in server-side code ๐
Source:stackexchange.com