Skip to content

Update dependencies and replace invalid devServer option - #39

Open
gfarb wants to merge 1 commit into
bricewilson:mainfrom
gfarb:main
Open

Update dependencies and replace invalid devServer option#39
gfarb wants to merge 1 commit into
bricewilson:mainfrom
gfarb:main

Conversation

@gfarb

@gfarbgfarb commented Mar 15, 2024

Copy link
Copy Markdown

This allows the demo to be used with newer versions of node. Without these changes end users will see the following error on Node v20.11.1

/workspaces/TypeScript-Getting-Started/node_modules/loader-runner/lib/LoaderRunner.js:146
if(isError) throw e;
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:68:19)
at Object.createHash (node:crypto:138:10)
at BulkUpdateDecorator.hashFactory (/workspaces/TypeScript-Getting-Started/node_modules/webpack/lib/util/createHash.js:144:18)
at BulkUpdateDecorator.update (/workspaces/TypeScript-Getting-Started/node_modules/webpack/lib/util/createHash.js:46:50)
at OriginalSource.updateHash (/workspaces/TypeScript-Getting-Started/node_modules/webpack-sources/lib/OriginalSource.js:104:8)
at NormalModule._initBuildHash (/workspaces/TypeScript-Getting-Started/node_modules/webpack/lib/NormalModule.js:753:17)
at handleParseResult (/workspaces/TypeScript-Getting-Started/node_modules/webpack/lib/NormalModule.js:817:10)
at /workspaces/TypeScript-Getting-Started/node_modules/webpack/lib/NormalModule.js:908:4
at processResult (/workspaces/TypeScript-Getting-Started/node_modules/webpack/lib/NormalModule.js:640:11)
at /workspaces/TypeScript-Getting-Started/node_modules/webpack/lib/NormalModule.js:692:5 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v20.11.1

Resolves#30

@gfarbgfarb mentioned this pull request Mar 15, 2024
@StevenMari

Copy link
Copy Markdown

Thanks!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to run

2 participants

@gfarb@StevenMari