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

yarn dev and yarn build both fail #257

Open
gamer191 opened this issue Dec 15, 2023 · 2 comments
Open

yarn dev and yarn build both fail #257

gamer191 opened this issue Dec 15, 2023 · 2 comments

Comments

@gamer191
Copy link

I followed the instructions in the Readme, but both yarn dev and yarn build are failing. I'm wondering if I did anything wrong?

jay@Ubuntu11:~/PycharmProjects/ios.cfw.guide$ yarn dev
yarn run v1.22.21
$ vuepress dev docs
warning an anonymous plugin or theme was detected and ignored
info Initializing VuePress and preparing data...
error error in hook onInitialized from vuepress-dynamic-pages
Error: File '/home/jay/PycharmProjects/ios.cfw.guide/docs/en_US/include/using-Cydia.md' not found.
    at _replaceIncludeByContent (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/markdown-it-include/dist/markdownItInclude.js:90:17)
    at Array._includeFileParts (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/markdown-it-include/dist/markdownItInclude.js:122:17)
    at Core.process (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/markdown-it/lib/parser_core.js:54:13)
    at MarkdownIt.parse (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/markdown-it/lib/index.js:524:13)
    at MarkdownIt.render (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/markdown-it/lib/index.js:544:36)
    at md.render (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/@mdit-vue/plugin-headers/dist/index.cjs:21:20)
    at md.render (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/@mdit-vue/plugin-title/dist/index.cjs:23:20)
    at md.render (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/@mdit-vue/plugin-frontmatter/dist/index.cjs:20:12)
    at renderPageContent (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/@vuepress/core/lib/page/renderPageContent.js:14:42)
    at createPage (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/@vuepress/core/lib/page/createPage.js:29:144)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
jay@Ubuntu11:~/PycharmProjects/ios.cfw.guide$ yarn build
yarn run v1.22.21
$ vuepress build docs
warning an anonymous plugin or theme was detected and ignored
info Initializing VuePress and preparing data...
error error in hook onInitialized from vuepress-dynamic-pages
Error: File '/home/jay/PycharmProjects/ios.cfw.guide/docs/en_US/include/using-Cydia.md' not found.
    at _replaceIncludeByContent (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/markdown-it-include/dist/markdownItInclude.js:90:17)
    at Array._includeFileParts (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/markdown-it-include/dist/markdownItInclude.js:122:17)
    at Core.process (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/markdown-it/lib/parser_core.js:54:13)
    at MarkdownIt.parse (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/markdown-it/lib/index.js:524:13)
    at MarkdownIt.render (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/markdown-it/lib/index.js:544:36)
    at md.render (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/@mdit-vue/plugin-headers/dist/index.cjs:21:20)
    at md.render (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/@mdit-vue/plugin-title/dist/index.cjs:23:20)
    at md.render (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/@mdit-vue/plugin-frontmatter/dist/index.cjs:20:12)
    at renderPageContent (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/@vuepress/core/lib/page/renderPageContent.js:14:42)
    at createPage (/home/jay/PycharmProjects/ios.cfw.guide/node_modules/@vuepress/core/lib/page/createPage.js:29:144)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

@gamer191
Copy link
Author

gamer191 commented Dec 16, 2023

After running some Github actions tests (at https://github.com/gamer191/ios.cfw.guide/), it appears that it builds on MacOS, but not on Linux. The workflow was switched to MacOS in dbe65f3, but I'm not sure why 🤔

EDIT: after running more tests (https://github.com/gamer191/ios.cfw.guide/actions/runs/7230257035) it appears that it fails on windows for a completely different reason. Although it works on my Windows machine, so maybe that's a Github Actions issue

@gamer191
Copy link
Author

After running another test (https://github.com/gamer191/ios.cfw.guide/actions/runs/7230345594), it appears that build works on Windows and MacOS, but fails on Linux, as the log above demonstrates

ghbuild also fails on Windows, due to an unrelated issue

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

1 participant