Issue starting a vanilla js build with vite
Using WSL terminal and I'm trying to start a project using vite, keep encountering the below error..
process I tried is below:
process I tried is below:
Error: EPERM: operation not permitted, mkdir 'C:\Windows\restaurant-app'
at Object.mkdirSync (node:fs:1395:3)
at Zr (file:///C:/Users/User/AppData/Local/npm-cache/_npx/1415fee72ff6294b/node_modules/create-vite/dist/index.mjs:48:7572)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errno: -4048,
syscall: 'mkdir',
code: 'EPERM',
path: 'C:\\Windows\\restaurant-app'npm create vite@latest restaurant-apprestaurant-app bit? it should prompt yourestaurant-app it complains about not having write access to c:\windows?npm cache clean --force?npm -v print?
laing91@PCS-PC:~/code/restaurant-page$ restaurant-apprestaurant-app'\\wsl.localhost\Ubuntu\home\laing91\code\restaurant-page'npm -v