D:\program\test\vuepress-plugin-flexsearch\example>npm run dev
> example@0.0.1 dev
> vuepress dev docs
wait Extracting site metadata...
tip Apply theme @vuepress/theme-default ...
warning An error was encountered in plugin "D:\program\test\vuepress-plugin-flexsearch\index.js"
tip Apply plugin container (i.e. "vuepress-plugin-container") ...
tip Apply plugin @vuepress/register-components (i.e. "@vuepress/plugin-register-components") ...
tip Apply plugin @vuepress/active-header-links (i.e. "@vuepress/plugin-active-header-links") ...
tip Apply plugin @vuepress/search (i.e. "@vuepress/plugin-search") ...
tip Apply plugin @vuepress/nprogress (i.e. "@vuepress/plugin-nprogress") ...
* Client █████████████████████████ building (40%) 1/2 modules 1 active
cache-loader » babel-loader » node_modules\webpack-dev-server\client\index.js
i 「wds」: Project is running at http://0.0.0.0:8081/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from D:\program\test\vuepress-plugin-flexsearch\example\docs\.vuepress\public
i 「wds」: 404s will fallback to /index.html
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:138:10)
at module.exports (D:\program\test\vuepress-plugin-flexsearch\example\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (D:\program\test\vuepress-plugin-flexsearch\example\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (D:\program\test\vuepress-plugin-flexsearch\example\node_modules\webpack\lib\NormalModule.js:471:10)
at D:\program\test\vuepress-plugin-flexsearch\example\node_modules\webpack\lib\NormalModule.js:503:5
at D:\program\test\vuepress-plugin-flexsearch\example\node_modules\webpack\lib\NormalModule.js:358:12
at D:\program\test\vuepress-plugin-flexsearch\example\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (D:\program\test\vuepress-plugin-flexsearch\example\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at iterateNormalLoaders (D:\program\test\vuepress-plugin-flexsearch\example\node_modules\loader-runner\lib\LoaderRunner.js:221:10)
at D:\program\test\vuepress-plugin-flexsearch\example\node_modules\loader-runner\lib\LoaderRunner.js:236:3
at runSyncOrAsync (D:\program\test\vuepress-plugin-flexsearch\example\node_modules\loader-runner\lib\LoaderRunner.js:130:11)
at iterateNormalLoaders (D:\program\test\vuepress-plugin-flexsearch\example\node_modules\loader-runner\lib\LoaderRunner.js:232:2)
at Array.<anonymous> (D:\program\test\vuepress-plugin-flexsearch\example\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
at Storage.finished (D:\program\test\vuepress-plugin-flexsearch\example\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
at D:\program\test\vuepress-plugin-flexsearch\example\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
D:\program\test\vuepress-plugin-flexsearch\example\node_modules\loader-runner\lib\LoaderRunner.js:114
throw e;
^
Error: error:0308010C:digital envelope routines::unsupported
at new Hash (node:internal/crypto/hash:69:19)
at Object.createHash (node:crypto:138:10)
at module.exports (D:\program\test\vuepress-plugin-flexsearch\example\node_modules\webpack\lib\util\createHash.js:135:53)
at NormalModule._initBuildHash (D:\program\test\vuepress-plugin-flexsearch\example\node_modules\webpack\lib\NormalModule.js:417:16)
at handleParseError (D:\program\test\vuepress-plugin-flexsearch\example\node_modules\webpack\lib\NormalModule.js:471:10)
at D:\program\test\vuepress-plugin-flexsearch\example\node_modules\webpack\lib\NormalModule.js:503:5
at D:\program\test\vuepress-plugin-flexsearch\example\node_modules\webpack\lib\NormalModule.js:358:12
at D:\program\test\vuepress-plugin-flexsearch\example\node_modules\loader-runner\lib\LoaderRunner.js:373:3
at iterateNormalLoaders (D:\program\test\vuepress-plugin-flexsearch\example\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
at D:\program\test\vuepress-plugin-flexsearch\example\node_modules\loader-runner\lib\LoaderRunner.js:186:6
at context.callback (D:\program\test\vuepress-plugin-flexsearch\example\node_modules\loader-runner\lib\LoaderRunner.js:111:13)
at D:\program\test\vuepress-plugin-flexsearch\example\node_modules\cache-loader\dist\index.js:196:7
at D:\program\test\vuepress-plugin-flexsearch\example\node_modules\neo-async\async.js:2830:7
at done (D:\program\test\vuepress-plugin-flexsearch\example\node_modules\neo-async\async.js:2865:11)
at D:\program\test\vuepress-plugin-flexsearch\example\node_modules\neo-async\async.js:2818:7
at D:\program\test\vuepress-plugin-flexsearch\example\node_modules\cache-loader\dist\index.js:185:9 {
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
}
Node.js v20.4.0
I cloned it and had a test:
and it occurred an errorr: