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

Extremely deprecated Node version #9

Open
anth-volk opened this issue Apr 27, 2023 · 1 comment
Open

Extremely deprecated Node version #9

anth-volk opened this issue Apr 27, 2023 · 1 comment

Comments

@anth-volk
Copy link

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.

@noahjt
Copy link

noahjt commented Feb 8, 2024

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

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

2 participants