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

Version '16.20.2' of platform 'nodejs' is not installed #2427

Closed
ryssob opened this issue May 12, 2024 · 3 comments
Closed

Version '16.20.2' of platform 'nodejs' is not installed #2427

ryssob opened this issue May 12, 2024 · 3 comments

Comments

@ryssob
Copy link

ryssob commented May 12, 2024

Bug Report

  • At what date and time did you most recently experience the problem?
    11 May 2024

  • Where did you experience the problem? E.g. Azure Web Apps, Azure Functions, Azure Container Registry, or offline use.
    Azure Static Web Apps

  • If your repo is publicly available please share its URL:

  • What happened?
    Azure Static Web App Overwiew:
    "We haven't received any content for your site yet. Click here to check the progress status of your GitHub action."

  • What did you expect or want to happen?
    Static Web App content

  • How can we reproduce it?

  • Do you have log output? Please include between the backticks:
    1_Build and Deploy Job.txt
    Log file included

@ryssob
Copy link
Author

ryssob commented May 12, 2024

From log file:
Version '16.20.2' of platform 'nodejs' is not installed. Generating script to install it...
Error: Could not find either 'build' or 'build:azure' node under 'scripts' in package.json.

@ryssob ryssob changed the title Azure Static Web App with API deployment failure Version '16.20.2' of platform 'nodejs' is not installed May 13, 2024
@ryssob
Copy link
Author

ryssob commented May 21, 2024

I created a new version of this function using node 20 and deployed it via Azure Functions in VS Code. Works perfectly.

@ryssob ryssob closed this as completed May 21, 2024
@ryssob
Copy link
Author

ryssob commented May 21, 2024

Done

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