Giter VIP home page Giter VIP logo

learndata's Issues

使用vercel部署时遇到一些问题

非常感谢您提供的这个网页模板和部署教程,整个过程都很详细。
但是我在使用vercel部署时遇到了一些错误,具体如下:
image
image

看错误提示,感觉是在main.yml中加入的Copy file to Vercel脚本出现了错误,但是我对yml语言不太懂,请教一下,这个问题该如何解决呢?

建议及时更新文档,避免产生Error: Error: Input required and not supplied: server

文档中没有提到在初次运行action时需要删除以下代码,卡了半天

      ### 没有服务器的话,请删除本区块代码,防止报错 ###
      # 将页面推送到服务器,timeout 时间从默认的 1 分钟调整到 10 分钟。
      - name: 📂 Sync files
        uses: SamKirkland/[email protected]
        with:
          local-dir: docs/.vuepress/dist/
          server: ${{ secrets.ftp_host }}
          username: ${{ secrets.ftp_username }}
          password: ${{ secrets.ftp_password }}
          port: ${{ secrets.ftp_port }} # 建议更改默认的 21 端口
          timeout: 600000
      ### 没有服务器的话,请删除本区块代码,防止报错 ###

博客小白一枚,想请教一下本地运行这个库的时候,pnpm i && pnpm up出现了一个warning,后面就没法本地生成网页了,具体报错如下

1.WARN  deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead

  1. 报错:Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'vuepress-plugin-sass-palette' imported from E:\blog\testblo
    g\node_modules.pnpm\[email protected]_e7jwb2ulu5orbkux7obq5onf
    au\node_modules\vuepress-plugin-search-pro\lib\node\index.js

前段时间还没有问题,今天突然就不行了,怀疑是不是版本的问题

关于看板娘跨域的问题

作者您好 首先很感谢您分享的精美模板,在Github pages使用发现调用您的看板娘API产生了跨域的问题,请问有什么比较好的方式解决么

提供一个部署在vercel的方法

直接在vercel导入你的repo,部署之后(此时部署是失败的)去settings把production branch改成gh-pages即可。需要更新一下仓库内容触发部署。vercel目前国内访问速度很不错。ps:FRAMEWORK PRESET这里选others即可

> > 新版 GitHub 需要权限,按常见问题- failed with exit code 128 来解决

          > > 新版 GitHub 需要权限,按常见问题- failed with exit code 128 来解决

进入项目仓库的「Settings」>「Code and automation」>「Actions」>「General」,选中底部 Workflow permissions 中的 Read and write permissions,点击保存后重新部署即可。

好的,我再试一下

看了你的仓库。不要点 GitHub Action 来部署 Pages,会污染网页。你按下列步骤执行下。

进入「Actions」>「最新的 workflow」,然后点击右上方的「Re-run all jobs」,重新生成网页。部署正确的话 GitHub 会自动搭建网站。

Originally posted by @rockbenben in #11 (comment)

不好意思,感觉好麻瓜 ....不确定有没有操作对.....
128e05ed0df25b93334537c22b95628

image

这算.....是....成功了吗
image

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.