0

I can not create any directories in the c://windows path. I really want to know why I can't create any directories and how can I deal with this problem.

const fs = require('fs')
fs.mkdir('C:\\Windows\\test', (err, data) => {
    console.log(err)
})

and this is the error I get: [Error: EPERM: operation not permitted, mkdir 'C:\Windows\test']

0 Answers0