diff --git a/remix.init/index.js b/remix.init/index.js index 4cd8f71..e095b2f 100644 --- a/remix.init/index.js +++ b/remix.init/index.js @@ -74,7 +74,7 @@ async function removeNonTemplateFiles({ rootDirectory, folders }) { try { await Promise.allSettled( folders.map((folder) => - fs.rm(join(rootDirectory, folder), { recursive: true }) + fs.rm(join(rootDirectory, folder), { recursive: true, force: true }) ) ); } catch (e) {