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

mac os 启动后一片空白 #1397

Closed
Ivorzk opened this issue Aug 19, 2023 · 3 comments
Closed

mac os 启动后一片空白 #1397

Ivorzk opened this issue Aug 19, 2023 · 3 comments

Comments

@Ivorzk
Copy link

Ivorzk commented Aug 19, 2023

Description

mac 安装依赖没有报错,启动后一片空白

windows 运行正常,mac 无法正常运行

windows normal

mac os exception

package.json

{
  "name": "docs",
  "version": "1.0.0",
  "description": "project document",
  "main": "index.js",
  "scripts": {
    "dev": "vuepress dev ./",
    "build": "vuepress build ./"
  },
  "author": "[email protected]",
  "license": "MIT",
  "dependencies": {
    "@vuepress/plugin-search": "^2.0.0-beta.66",
    "vuepress": "^2.0.0-beta.66"
  }
}

vuepress.config.ts

import { defineUserConfig, defaultTheme } from 'vuepress'
// import { docsearchPlugin } from "@vuepress/plugin-docsearch";
import { searchPlugin } from '@vuepress/plugin-search'

export default defineUserConfig({
  lang: 'zh-CN',
  title: 'ext-ui',
  description: 'ext-ui',
  base: '/ext-ui/',
  plugins: [
    searchPlugin({})
  ],
  theme: defaultTheme({
    navbar: [
      {
        text: '开发指南',
        link: '/guide'
      },
      {
        text: '组件',
        link: '/components'
      },
      {
        text: '更新日志',
        link: '/change-log'
      }
    ]
  })
})

md 文件

image

启动

image

预览

image

控制台

image

Reproduction

https://v2.vuepress.vuejs.org/zh/

Used Package Manager

yarn

System Info

➜  Local:   http://localhost:8080/ext-ui/
  ➜  Network: http://192.168.100.41:8080/ext-ui/
  ➜  Network: http://198.18.0.1:8080/ext-ui/
Failed to load url /Users/user/work/longtimeproject/ext-ui/docs/.vuepress/.temp/internal/layoutComponents (resolved id: /Users/user/work/longtimeproject/ext-ui/docs/.vuepress/.temp/internal/layoutComponents) in /Users/user/work/longtimeproject/ext-ui/docs/node_modules/@vuepress/plugin-search/node_modules/@vuepress/client/dist/chunk-V3MKNX2O.js. Does the file exist?
@Mister-Hope
Copy link
Member

Reproduction

https://v2.vuepress.vuejs.org/zh/

?

@github-actions
Copy link

Hello @Ivorzk. Please provide a minimal reproduction using a GitHub repository or v2.vuepress.vuejs.org/new. Issues marked with need reproduction will be closed if they have no activity within 7 days.

@Mister-Hope
Copy link
Member

Check #1195

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants