Azure / Azure/static-web-apps

Azure static web app using node 16 when node 18 was specified

Open
#1,385 10 comments 6 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

A clear and concise description of what the bug is.

**To Reproduce**
Create azure static web app and update to staticwebapp.config.json to use node 18

**Expected behavior**
Trying to use node 18 in Azure static web app. Selected node 18 package.json engines and in config file. App is built using node 16 causing problems as I have a dependency on node 18

**Screenshots**
Specified node 18 in staticwebapp.config.json
![image](https://github.com/microsoft/Oryx/assets/10475290/f14b4e88-2059-40c6-840a-6b27afc54c9f)

Specified node 18 in package.json
![image](https://github.com/microsoft/Oryx/assets/10475290/936f526d-92d9-411a-b164-49ed404706bc)

Specified node 18 in ci.yaml
![image](https://github.com/microsoft/Oryx/assets/10475290/5c11c9cc-5fb7-4987-8359-2616fc2a2bfc)

Oryx is using node 16
![image](https://github.com/microsoft/Oryx/assets/10475290/7cba0ef7-6ca2-44c7-a551-7b5c0c982065)

**Device info (if applicable):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.