Error: Cannot find module './config.json'

javascript

#1

I having this error code:
https://pastebin.com/HndpCQzE

This is my index.js:
https://pastebin.com/USYVGeFp

This is my package.json:
https://pastebin.com/0YyAY43E

And this is my project link:


#2

I remixed this, I found that if you delete the config.json and remake the file it works

I guess creating the file the first time didn’t work

Tell me if deleting and recreating the file works


#3

wow, that’s work. Thank you :grinning: