mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
fix(nuxi): use rm rather than rmdir (#4100)
This commit is contained in:
parent
e1e3f5063d
commit
301f242422
@ -39,7 +39,7 @@ export default defineNuxtCommand({
|
||||
consola.info('Removing lock-file and node_modules...')
|
||||
await Promise.all([
|
||||
fsp.rm(packageManagerLocks[packageManager]),
|
||||
fsp.rmdir('node_modules', { recursive: true })
|
||||
fsp.rm('node_modules', { recursive: true })
|
||||
])
|
||||
execSync(`${packageManager} install`, { stdio: 'inherit' })
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user