It's the same error, but in my case it was caused by importing a backend file—something that uses Node-specific features. Check your frontend code to see if any Node-related code is sneaking in.