You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under Windows11, when i try to create AdonisJs 5 project , is not working, but AdonisJs6 work,
please Help
`RUNNING TASKS
❯ Scaffold project 112 ms
❯ Install dependencies 23 ms
spawn EINVAL
❯ Configure installed packages
[ error ] Unable to create project. Cleaning up
node:fs:1222
return handleErrorFromBinding(ctx);
^
Error: EBUSY: resource busy or locked, rmdir '\?\C:\Users\pc\Desktop\twenty\ghgh\hello-now'
at rmdirSync (node:fs:1222:10)
at _rmdirSync (node:internal/fs/rimraf:235:5)
at rimrafSync (node:internal/fs/rimraf:193:7)
at Object.rmSync (node:fs:1271:10)
at removeSync (C:\Users\pc\AppData\Local\npm-cache_npx\7fc89991fd0d393b\node_modules\fs-extra\lib\remove\index.js:15:28)
at runTasks (C:\Users\pc\AppData\Local\npm-cache_npx\7fc89991fd0d393b\node_modules\create-adonis-ts-app\build\index.js:118:35)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errno: -4082,
syscall: 'rmdir',
code: 'EBUSY',
path: '\\?\C:\Users\pc\Desktop\twenty\ghgh\hello-now'
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Under Windows11, when i try to create AdonisJs 5 project , is not working, but AdonisJs6 work,
please Help
`RUNNING TASKS
❯ Scaffold project 112 ms
❯ Install dependencies 23 ms
spawn EINVAL
❯ Configure installed packages
[ error ] Unable to create project. Cleaning up
node:fs:1222
return handleErrorFromBinding(ctx);
^
Error: EBUSY: resource busy or locked, rmdir '\?\C:\Users\pc\Desktop\twenty\ghgh\hello-now'
at rmdirSync (node:fs:1222:10)
at _rmdirSync (node:internal/fs/rimraf:235:5)
at rimrafSync (node:internal/fs/rimraf:193:7)
at Object.rmSync (node:fs:1271:10)
at removeSync (C:\Users\pc\AppData\Local\npm-cache_npx\7fc89991fd0d393b\node_modules\fs-extra\lib\remove\index.js:15:28)
at runTasks (C:\Users\pc\AppData\Local\npm-cache_npx\7fc89991fd0d393b\node_modules\create-adonis-ts-app\build\index.js:118:35)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
errno: -4082,
syscall: 'rmdir',
code: 'EBUSY',
path: '\\?\C:\Users\pc\Desktop\twenty\ghgh\hello-now'
}
Node.js v18.20.4
npm error code 1
npm error path C:\Users\pc\Desktop\twenty\ghgh
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c create-adonis-ts-app hello-now
npm error A complete log of this run can be found in: C:\Users\pc\AppData\Local\npm-cache_logs\2024-07-24T08_41_53_833Z-debug-0.log`
Beta Was this translation helpful? Give feedback.
All reactions