idyll
idyll copied to clipboard
Publish fails when project name has special characters
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!
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.jsonfromstella_1tostella1 - 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
Hey @mathisonian thank you that fixed it. Appreciate you sending through a detailed answer so quickly. Have a great Sunday!
Glad that took care of it @buriedsignals. I'm going to leave this issue open until we have a better fix available
@mathisonian could you assign this to me?
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.