cli icon indicating copy to clipboard operation
cli copied to clipboard

`netlify dev --live` not working with astro/turbo

Open pdkn opened this issue 8 months ago • 0 comments

Describe the bug

I have an astro project using turbo. When running netlify dev --live the following error is produced. I can confirm that turbo exists and the command runs if invoked directly. netlify init/link configured correctly too

Waiting for framework port 4321. This can be configured using the 'targetPort' property in the netlify.toml◈ Failed running command: turbo run dev --filter @myproject/web. Please verify 'turbo' exists

Steps to reproduce

setup an turbo mono repo create an astro project in apps/web connect to netlify

Configuration

[dev] port = 8888
targetPort = 4321 command = "turbo run dev --filter @myproject/web" functions = "netlify/functions"

Environment

System: OS: macOS 13.4 CPU: (10) arm64 Apple M1 Pro Memory: 67.59 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node Yarn: 1.22.21 - npm: 10.2.5 -

pdkn avatar Dec 29 '23 21:12 pdkn