静琳同学在学习 2023-08-16 11:37 采纳率: 25%
浏览 25

搭建博客过程启动服务器失败

谢谢耐心观看!出现逻辑或者什么错误,麻烦指出,祝各位生活愉快,平安健康!
按教程搭建博客

img

到yarn add -D vuepress 这步 出现warning 但是后面又显示success,但是 vuepress -v 显示不是内部处理器

img

img

img

接着在本地启动服务器,失败了,不知道为什么,帮助我这个小菜鸡

error:03000086:digital envelope routines::initialization error 上网查过这个错误的解决方法 是vue的

img

img

img


这是过程的语言显示

D:\vuepress-starter>yarn docs:dev
yarn run v1.22.19
$ vuepress dev docs
wait Extracting site metadata...
tip Apply theme @vuepress/theme-default ...
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
 node_modules\webpack-dev-server\client\index.js

i 「wds」: Project is running at http://0.0.0.0:8080/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from D:\vuepress-starter\docs\.vuepress\public
i 「wds」: 404s will fallback to /index.html
node:internal/crypto/hash:69
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:69:19)
    at Object.createHash (node:crypto:133:10)
    at module.exports (D:\vuepress-starter\node_modules\webpack\lib\util\createHash.js:135:53)
    at NormalModule._initBuildHash (D:\vuepress-starter\node_modules\webpack\lib\NormalModule.js:417:16)
    at handleParseError (D:\vuepress-starter\node_modules\webpack\lib\NormalModule.js:471:10)
    at D:\vuepress-starter\node_modules\webpack\lib\NormalModule.js:503:5
    at D:\vuepress-starter\node_modules\webpack\lib\NormalModule.js:358:12
    at D:\vuepress-starter\node_modules\loader-runner\lib\LoaderRunner.js:373:3
    at iterateNormalLoaders (D:\vuepress-starter\node_modules\loader-runner\lib\LoaderRunner.js:214:10)
    at Array.<anonymous> (D:\vuepress-starter\node_modules\loader-runner\lib\LoaderRunner.js:205:4)
    at Storage.finished (D:\vuepress-starter\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:55:16)
  at D:\vuepress-starter\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:91:9
    at D:\vuepress-starter\node_modules\graceful-fs\graceful-fs.js:123:16
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error'],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v18.17.1
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

  • 写回答

1条回答 默认 最新

报告相同问题?

问题事件

  • 创建了问题 8月16日

悬赏问题

  • ¥15 有人会用py或者r画这种图吗
  • ¥15 MOD04_3K图像预处理
  • ¥15 [VASP]关于超胞大小和k 点网格的收敛性测试
  • ¥15 pip下载paddle2onnx离谱错误
  • ¥60 db2move nlzxams import 导出db2备份数据报错
  • ¥15 关于#python#的问题:全文总结功能咨询
  • ¥15 俄罗斯方块中无法同时消除多个满行
  • ¥15 使用gojs3.0,如何在nodeDataArray设置好text的位置,再go.TextBlock alignment中进行相应的改变
  • ¥15 psfusion图像融合指标很低
  • ¥15 银河麒麟linux系统如何修改/etc/hosts权限为777