Please provide the following:
- SDK Version: 41
- Platforms: Android/iOS
I am unable to run the command
expo build:android. I’m getting the error:
• Field: slug - 'slug' should match pattern "^[a-zA-Z0-9_\-]+$".
app.json, this is my
The above string seems to satisfy the regex. I don’t understand why I’m getting this error.
I agree that slug does look fine.
Is there any chance you have e.g. an en dash or something instead of a hyphen?
Otherwise is it possible you have the slug at the wrong nesting level in your app.json, such that when expo looks for it it doesn’t find it? Could you post the whole app.json? Obscure or leave out anything you consider sensitive.
Hey @seyaobey, were you able to get this resolved with wodin’s suggestions?
So I just changed the slug to
vivamosolo and it worked. I cannot explain why it accepted this format though…
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.