App services with Node.js version 18.xx

Hi all,

I wanted to give it a try on App Services with Node.js version 18 (I got 18.9.0 installed). There were issues and I want to share how I fixed them.

Error: error:0308010C:digital envelope routines::unsupported
error:03000086:digital envelope routines::initialization error

solution: export NODE_OPTIONS=--openssl-legacy-provider (check for windows version of setting environment variable)

Error: No version of chokidar is available. Tried chokidar@2 and chokidar@3.

solution: npm update chokidar

I don’t remember if this was an error but I also used npx browserslist@latest --update-db

I hope this will help to get a base solution in one place. There might be more issues in the future as versions advance, so heads up. (you may add up here if you want)

YILMAZ

PS: this was for the template todo app. there might not be any problem with a custom app.