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

Netlify CLI hangs waiting for framework port 3000 on Astro 3 #5978

Closed
wrainbird opened this issue Sep 4, 2023 · 1 comment
Closed

Netlify CLI hangs waiting for framework port 3000 on Astro 3 #5978

wrainbird opened this issue Sep 4, 2023 · 1 comment
Labels
type: bug code to address defects in shipped code

Comments

@wrainbird
Copy link

Describe the bug

With Astro 3 and Node v18>, Netlify CMS hangs on waiting for framework port 3000

Steps to reproduce

  1. Run git clone https://github.com/wrainbird/astro3-netlify-cli-port-bug.git
  2. Navigate to the project directory
  3. Install dependencies
  4. Run netlify dev

Configuration

[dev]
command = "yarn dev"
framework = "#custom"
targetPort = 3000

Environment

System:
OS: macOS 12.6
CPU: (10) arm64 Apple M1 Pro
Memory: 1.08 GB / 32.00 GB
Shell: 5.8.1 - /bin/zsh

Binaries:
Node: 18.17.1 - ~/.nvm/versions/node/v18.17.1/bin/node
Yarn: 1.22.17 - /opt/homebrew/bin/yarn
npm: 9.6.7 - ~/.nvm/versions/node/v18.17.1/bin/npm

npmGlobalPackages:
netlify-cli: 16.2.0

@wrainbird wrainbird added the type: bug code to address defects in shipped code label Sep 4, 2023
@wrainbird wrainbird changed the title Netlify CMS hangs waiting for framework port 3000 on Astro 3 Netlify CLI hangs waiting for framework port 3000 on Astro 3 Sep 4, 2023
@wrainbird
Copy link
Author

Will close now, with Astro 3 Netlify CMS will work if you set targetPort to 4321. Here is my updated netlify.toml file:

[dev]
  command = "yarn dev"
  framework = "#custom"
  targetPort = 4321

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

1 participant