【问题标题】:ENOENT: no such file or directory, stat '/Users/sylvia/Documents/Profile/build'ENOENT:没有这样的文件或目录,stat '/Users/sylvia/Documents/Profile/build'
【发布时间】:2022-01-26 20:55:14
【问题描述】:

我正在尝试将其部署到 Github 页面 https://github.com/SylviaMakuch/Profile。但是,我收到此消息:ENOENT: no such file or directory, stat '/Users/sylvia/Documents/Profile/build.

我尝试更新依赖项,卸载重新安装。我也第一次尝试使用 Vite - 也许这是一个 vite 问题?

我不知道发生了什么。

希望有人可以提供帮助:)

【问题讨论】:

    标签: javascript github vite


    【解决方案1】:

    似乎 vite 正在尝试定位一个不存在的目录,您可能需要设置一个 vite.config.js 文件,并将其设置为定位您的 dist 目录 https://vitejs.dev/config/

    【讨论】:

      猜你喜欢
      • 2021-06-20
      • 2020-08-08
      • 2020-12-05
      • 2017-01-24
      • 2020-06-03
      • 2021-04-26
      • 2021-03-05
      • 1970-01-01
      • 2021-09-22
      相关资源
      最近更新 更多