-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error: characters are not allowed at line #1
Comments
hmmm for some reason it didn’t find your shard.yml file, so its passing an empty string to the extract_version script. Do this always happen with lucky apps? I mean… do you have ant suggestion about how to reproduce this issue? |
So far, I haven't found a pattern in the errors. It only happens on deploys, but not consistently. I'm deploying to a docker swarm server using a multi-stage build process. It could be that the shard.yml isn't available in one of the build steps. And maybe when it doesn't fail, it's due to caching? I don't know. I'm now using another fuzzy search lib because I needed to deploy some changes, but I would prefer yours. |
I thought in the past about remove this dependency, but got no reasons to do so, I think this bug report can be the reason I was looking for. version_from_shard shard maybe is more useful for apps, not libraries, since if two or more libraries depend on different versions of it the dependency can cause problems. I'll release a new version of fzy without this dependency then close this issue. Thanks for the report. |
In fact it was not really fixed, hehehe, since I can't know the cause of the issue without looking how the deploy is being made. |
I'm using your fzy lib in a Lucky app and often my deploys fail with the following error:
Sometimes it works, other times not, and I can't figure out why.
The text was updated successfully, but these errors were encountered: