Sly777 / ran

:zap: RAN! React . GraphQL . Next.js Toolkit :zap: - SEO-Ready, Production-Ready, SSR, Hot-Reload, CSS-in-JS, Caching, CLI commands and more...

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error on Clean Setup

andyandrwew opened this issue · comments

I changed this line to:
out += ${key}:${JSON.stringify(obj[key])}\n;
and it worked for me.
Below is the result
Screen Shot 2021-12-12 at 2 13 15 PM

to fixed the 'Cannot convert object to primitive value' error I was having.

I am also new and did not want to propose this to the code until I was positive it was indeed an error.

out += `${key}: ${obj[key]}\n`;