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

Publish fails when project name has special characters #727

Open
tomvaillant opened this issue Apr 10, 2021 · 5 comments
Open

Publish fails when project name has special characters #727

tomvaillant opened this issue Apr 10, 2021 · 5 comments
Assignees

Comments

@tomvaillant
Copy link

Hi Matthew, hope you're doing alright! Slowly but surely becoming more familiar with Idyll and excited to continue getting better over time:)

Trying to publish a Scrollytelling post, console is confirming project deployed at https://idyll.pub/post/stella_1-65f57118b1f58a332968bc5f/

However if you open the URL you'll see the issue. "Deployment not found" "vercel.app might be available". Hoping you might have seen this one before?

Thanks!

@mathisonian
Copy link
Member

Hey @buriedsignals!

I've seen this occasionally happen with names containing special characters that our hosting provider doesn't like. If you follow these steps does it work:

  • Change the name of your project in package.json from stella_1 to stella1
  • Remove the publish token: rm .idyll/token
  • Re-run the deploy idyll build && idyll publish

If that does the trick it would indicate an issue with _. In that case we should add some logic to warn people about it, or automatically generate a URL that doesn't have those issues

@tomvaillant
Copy link
Author

Hey @mathisonian thank you that fixed it. Appreciate you sending through a detailed answer so quickly. Have a great Sunday!

@mathisonian mathisonian changed the title 404 Deployment not found Publish fails when project name has special characters Apr 13, 2021
@mathisonian
Copy link
Member

Glad that took care of it @buriedsignals. I'm going to leave this issue open until we have a better fix available

@mrviniciux
Copy link
Contributor

@mathisonian could you assign this to me?

@mathisonian
Copy link
Member

You got it @mrviniciux. A PR is very welcome here - I think the most straightforward approach will be to sanitize the project name in the publish command.

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

No branches or pull requests

3 participants