Eli has created a backend for his app, now he wants to build the frontend. He decided to create another directory to keep his folders clean. He is sure he will have the assets folder inside frontend, so he ran this command, but received an error:
mkdir("frontend/assets")
.then(() => console.log("Created a directory!"))
.catch((err) => console.log(err));This is the error he got:
Add something to Eli's code to fix it.