Open anth-volk opened 1 year ago
This is due to the default Node.js cryptography provider changing to use OpenSSL 3, which has different default configurations that can cause issues with some cryptographic operations used by various tools and libraries, including Webpack, which is used by create-react-app and consequently the Spotify Web Playback SDK example.
Cheap and quick work around is in Powershell: $env:NODE_OPTIONS="--openssl-legacy-provider" npm start
When installing via NPM, in order to successfully run this package, I have to create a .nvmrc file and specify Node v16, otherwise I receive the following back-end error:
"error:0308010C:digital envelope routines::unsupported"
. This appears to be due to upgrades since the publication of this package that filled a security hole created by digital envelope routines, though it is unclear if this is due to the package itself or one of its dependencies.