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

路径错误 #15

Open
MyPrototypeWhat opened this issue Jun 14, 2024 · 9 comments
Open

路径错误 #15

MyPrototypeWhat opened this issue Jun 14, 2024 · 9 comments

Comments

@MyPrototypeWhat
Copy link

(node:1943) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
node:events:498
      throw er; // Unhandled 'error' event
      ^
Error: ENOENT: no such file or directory, open '/home/runner/work/myprototypewhat.github.io/myprototypewhat.github.io/google.txt'
Emitted 'error' event on Interface instance at:
    at ReadStream.onerror (node:internal/readline/interface:239:10)
    at ReadStream.emit (node:events:[5](https://github.com/MyPrototypeWhat/myprototypewhat.github.io/actions/runs/9515804461/job/26230794913#step:5:6)20:28)
    at emitErrorNT (node:internal/streams/destroy:170:8)
    at emitErrorCloseNT (node:internal/streams/destroy:129:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:[8](https://github.com/MyPrototypeWhat/myprototypewhat.github.io/actions/runs/9515804461/job/26230794913#step:5:9)2:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/home/runner/work/myprototypewhat.github.io/myprototypewhat.github.io/google.txt'
}
Node.js v22.3.0

/home/runner/work/myprototypewhat.github.io/myprototypewhat.github.io/google.txt

不知道为什么多了个/myprototypewhat.github.io

@Lete114
Copy link
Owner

Lete114 commented Jun 14, 2024

你的没有生成google.txt文件

@MyPrototypeWhat
Copy link
Author

你的没有生成google.txt文件

image 我看是有的

@Lete114
Copy link
Owner

Lete114 commented Jun 14, 2024

你仓库里有吗?

@MyPrototypeWhat
Copy link
Author

我是用hexo g生成的HexoSeoAutoPush.yml 拖到了我项目的workflows里

@MyPrototypeWhat
Copy link
Author

你仓库里有吗?

没有用hexo 的deploy那种 仓库里没有

@Lete114
Copy link
Owner

Lete114 commented Jun 14, 2024

google.txt呢?

@MyPrototypeWhat
Copy link
Author

https://hexo.io/zh-cn/docs/github-pages 这么部署的 对github workflow不熟 我也不知道构建出来的产物放在哪

@Lete114
Copy link
Owner

Lete114 commented Jun 15, 2024

我是用hexo g生成的HexoSeoAutoPush.yml 拖到了我项目的workflows里

你因该这样

.
│  baidu.txt
│  baidusitemap.xml
│  bing.json
│
└─.github
    └─workflows
            HexoSeoAutoPush.yml

@MyPrototypeWhat
Copy link
Author

解决了
image
定一下构建产物的文件夹就行

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

No branches or pull requests

2 participants