diff --git a/lib/builder.js b/lib/builder.js index ef27ca6667..4ae2efa29f 100644 --- a/lib/builder.js +++ b/lib/builder.js @@ -128,7 +128,7 @@ export default class Builder extends Tapable { const bundlePath = join(serverConfig.output.path, 'server-bundle.json') const manifestPath = join(serverConfig.output.path, 'client-manifest.json') if (!fs.existsSync(bundlePath) || !fs.existsSync(manifestPath)) { - throw new Error('No build files found, please run `nuxt build` before launching `nuxt start`') + throw new Error(`No build files found in ${serverConfig.output.path}, please run \`nuxt build\` before launching \`nuxt start\``) } const bundle = fs.readFileSync(bundlePath, 'utf8') const manifest = fs.readFileSync(manifestPath, 'utf8')