title: I am not able to make files using fs.writeFileSync() in Node.js, idk why?
body: <pre><code>const fs = require('fs');
  const folderName = process.argv[2] || 'Project'
  
  
  fs.mkdirSync(folderName)
  fs.writeFileSync(`${folderName}/index.html`)
  fs.writeFileSync(`${folderName}/style.css`)
  fs.writeFileSync(`${folderName}/app.js`)
  
  </code></pre>
  <p>This is the error I am getting when I execute:  <br/>
  <code>node boilerplate.js Portfolio</code></p>
  <p>the folder &quot;Portfolio&quot; is made but not the files</p>
  <p><img src="https://i.stack.imgur.com/fuscx.png" alt="error" /></p>