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...
MIT License
2.21k stars 160 forks source link

Error on Clean Setup #696

Open andyandrwew opened 2 years ago

andyandrwew commented 2 years ago

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.

https://github.com/Sly777/ran/blob/9879d908d2a8f79b4cd1d23910db62960a99fef8/libraries/helpers.js#L9