Skip to content

SWA not starting for node16 is installed but app is Python #568

@tonybaloney

Description

@tonybaloney

Are you accessing the CLI from the default port :4280 ?

  • No, I am using a different port number (--port) and accessing the CLI from that port
  • Yes, I am accessing the CLI from port :4280

Make sure you are accessing the URL printed in the console when running swa start!

ℹ️ NOTE: Make sure to enable debug logs when running any swa commands using --verbose=silly

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

I get the following when trying to start the SWA on a Python functions project:

$ swa start app --api-location api
Welcome to Azure Static Web Apps CLI (1.0.2)

***********************************************************************
* WARNING: This emulator may not match the cloud environment exactly. *
* Always deploy and test your app in Azure.                           *
***********************************************************************

✖ Found Azure Functions Core Tools v4 which is incompatible with your current Node.js v18.0.0.
✖ See https://aka.ms/functions-node-versions for more information.

Yes, I have node.js 18 installed, but this is a Python project (and the functions CLI works fine)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions