Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preview command failed with nitro.output.dir #375

Open
xjccc opened this issue Mar 27, 2024 · 0 comments
Open

preview command failed with nitro.output.dir #375

xjccc opened this issue Mar 27, 2024 · 0 comments

Comments

@xjccc
Copy link

xjccc commented Mar 27, 2024

  1. set nitro.output
 output: {
    dir: 'node-server',
    publicDir: 'node-server'
  }
  1. pnpm build
  2. pnpm preview

nitro.json is under node-server, but preview path is server/node-server

// preview output path
[ 'Users/playground/server/node-server/nitro.json',
  'Users/playground/.output/nitro.json' ]

When i config nitro.srcDir is same output in node-server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant