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

Jekyll Import Command reporting file name is too long #10435

Closed
McCoyAle opened this issue Nov 14, 2022 · 3 comments
Closed

Jekyll Import Command reporting file name is too long #10435

McCoyAle opened this issue Nov 14, 2022 · 3 comments

Comments

@McCoyAle
Copy link

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.105.0+extended darwin/amd64 BuildDate=unknown

Does this issue reproduce with the latest release?

Yes

Issue:
Hello, I am attempting to migrate my Jekyll Project from Jekyll & Github Pages to Hugo using Netlify. However, when I am using the import command like so:

hugo import jekyll /Users/alexandram/Blog-Site /Users/alexandram/test --force

I am receiving the following error:
Importing... Error: walk: Readdir: lstat /Users/alexandram/Blog-Site/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages/mccoyale.github.io-gh-pages: file name too long

I say that the repo was cloned inside of the directory. When I removed it I was able to import. However, I would expect for it to either throw a different error or import the nested directory versus the error that it is showing.

Please advise.

@McCoyAle McCoyAle changed the title Jekyll Import Command Jekyll Import Command reporting file name is too long Nov 14, 2022
@McCoyAle
Copy link
Author

I would also like to reference this issue here #6140

Copy link

This issue has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
This issue will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

Copy link

github-actions bot commented Feb 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant