You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
escript: exception error: no function clause matching
cuttlefish_vmargs:'-stringify/1-lc$^0/1-0-'(undefined) (src/cuttlefish_vmargs.erl, line 13)
in function cuttlefish_escript:engage_cuttlefish/1 (src/cuttlefish_escript.erl, line 390)
in call from cuttlefish_escript:generate/1 (src/cuttlefish_escript.erl, line 259)
The text was updated successfully, but these errors were encountered:
It appears that you're required to have at least one setting with a vm_args mapping, and you have to have it in both the schema and in the source config file. This could do with either a better error message or a mention in the documentation (or both).
(I'm building this up from scratch because we're using relx for our releases).
I ran into this too, i'm including a vmargs setting in my main schema too for now as a workaround.
Fix in cuttlefish_vmargs is probably just a clause to turn undefined into an empty list. I don't think any vmargs settings are strictly necessary.
stringify(undefined) -> [];
stringify(.....
Basho-JIRA
changed the title
no function clause matching cuttlefish_vmargs:'-stringify/1-lc$^0/1-0-'(undefined)
no function clause matching cuttlefish_vmargs:'-stringify/1-lc$^0/1-0-'(undefined) [JIRA: RIAK-2498]
Apr 13, 2016
The text was updated successfully, but these errors were encountered: