We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f830068 commit 3431744Copy full SHA for 3431744
src/commands/deploy.mjs
@@ -118,7 +118,7 @@ export default defineCommand({
118
if (args.dotenv) {
119
nuxiBuildArgs.push(`--dotenv=${args.dotenv}`)
120
}
121
- await execa({ stdio: 'inherit', preferLocal: true })`nuxi build ${nuxiBuildArgs}`
+ await execa({ stdio: 'inherit', preferLocal: true, cwd })`nuxi build ${nuxiBuildArgs}`
122
.catch((err) => {
123
if (err.code === 'ENOENT') {
124
consola.error('`nuxt` is not installed, please make sure that you are inside a Nuxt project.')
0 commit comments