Skip to content

Commit 3aa5a6c

Browse files
committed
fix: lock version of nuxi for module install
Waiting for nuxt/cli#717
1 parent d931c77 commit 3aa5a6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/ensure.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default defineCommand({
2727

2828
if (!nuxtConfig.modules.includes('@nuxthub/core')) {
2929
consola.info('@nuxthub/core module is not installed, installing...')
30-
await execa('npx', ['nuxi@latest', 'module', 'add', 'hub'], { cwd, stdio: 'inherit' })
30+
await execa('npx', ['nuxi@3.20.0', 'module', 'add', 'hub'], { cwd, stdio: 'inherit' })
3131
}
3232

3333
consola.success('NuxtHub Core module is installed and registered in the project.')

0 commit comments

Comments
 (0)