Skip to content

装了vlike插件后打包出错 #2651

@zhoufanglu

Description

@zhoufanglu
  • I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

What is expected?

期望打包成功

What is actually happening?

装了vlike插件后打包失败了,但是本地dev是可以运行的。
报错内容如下

error Error rendering /: false
undefined
error Error rendering /exampleMenu1/exampleSubMenu1-a/: false

deploy.sh file

#!/usr/bin/env sh

# 确保脚本抛出遇到的错误
set -e

# 生成静态文件
npm run docs:build

# 进入生成的文件夹
cd docs/.vuepress/dist

# 如果是发布到自定义域名
# echo 'www.example.com' > CNAME

git init
git add -A
git commit -m 'deploy'

# 如果发布到 https://<USERNAME>.github.io
# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master

# 如果发布到 https://<USERNAME>.github.io/<REPO>
# git push -f [email protected]:<USERNAME>/<REPO>.git master:gh-pages
 git push -f [email protected]:zhoufanglu/vuepressBlog.git master:gh-pages


cd -

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions