Closed wrainbird closed 1 year ago
With Astro 3 and Node v18>, Netlify CMS hangs on waiting for framework port 3000
git clone https://github.com/wrainbird/astro3-netlify-cli-port-bug.git
netlify dev
[dev] command = "yarn dev" framework = "#custom" targetPort = 3000
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
Will close now, with Astro 3 Netlify CMS will work if you set targetPort to 4321. Here is my updated netlify.toml file:
4321
[dev] command = "yarn dev" framework = "#custom" targetPort = 4321
Describe the bug
With Astro 3 and Node v18>, Netlify CMS hangs on waiting for framework port 3000
Steps to reproduce
git clone https://github.com/wrainbird/astro3-netlify-cli-port-bug.git
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