Skip to content

Commit deb13fd

Browse files
committed
issue fixed
1 parent 8aed786 commit deb13fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/lib/scaffold.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,11 +336,11 @@ export async function scaffoldMonorepo(projectNameArg, options) {
336336
// Strict external generators for new frameworks: abort on failure (no internal fallback yet)
337337
if (svcType === 'remix') {
338338
try {
339-
console.log(chalk.cyan('⚙️ Running Remix generator (create-remix)...'));
340-
await execa('npx', ['--yes', 'create-remix@latest', '.', '--template', 'remix'], { cwd: dest, stdio: 'inherit' });
339+
console.log(chalk.cyan('⚙️ Running Remix generator (create-react-router with basic template)...'));
340+
await execa('npx', ['--yes', 'create-react-router@latest', '.', '--template', 'remix-run/react-router/examples/basic', '--no-git-init', '--no-install'], { cwd: dest, stdio: 'inherit' });
341341
usedGenerator = true;
342342
} catch (e) {
343-
console.error(chalk.red(`❌ create-remix failed: ${e.message}. Aborting scaffold for this service.`));
343+
console.error(chalk.red(`❌ create-react-router failed: ${e.message}. Aborting scaffold for this service.`));
344344
continue; // skip creating this service
345345
}
346346
} else if (svcType === 'astro') {

0 commit comments

Comments
 (0)