Skip to content

** (FunctionClauseError) no function clause matching in String.split/3  #180

Open
@marcpawl

Description

@marcpawl

'''
/usr/local/bin/js2e /Users/marcpawl/github/Triumph_TTS/fake_meshwesh/json_schemas --module-name Meshwesh
warning: :logger :level has been set to :warn in config files, please use :warning instead
(logger 1.15.5) lib/logger/app.ex:102: Logger.App.default_level/0
(logger 1.15.5) lib/logger/app.ex:35: Logger.App.start/2
(kernel 9.0.2) application_master.erl:293: :application_master.start_it_old/4

** (FunctionClauseError) no function clause matching in String.split/3

The following arguments were given to String.split/3:

    # 1
    :anonymous

    # 2
    "-"

    # 3
    []

(elixir 1.15.5) lib/string.ex:478: String.split/3
(js2e 2.9.1) lib/printer/utils/naming.ex:191: JS2E.Printer.Utils.Naming.kebab_to_camel_case/1
(js2e 2.9.1) lib/printer/utils/naming.ex:84: JS2E.Printer.Utils.Naming.normalize_identifier/2
(js2e 2.9.1) lib/printer/utils/naming.ex:11: JS2E.Printer.Utils.Naming.create_root_name/2
(js2e 2.9.1) lib/printer/object_printer.ex:52: JS2E.Printer.ObjectPrinter.print_type/4
(elixir 1.15.5) lib/enum.ex:1693: Enum."-map/2-lists^map/1-1-"/2
(js2e 2.9.1) lib/printer/printer.ex:247: JS2E.Printer.merge_results/5
(js2e 2.9.1) lib/printer/printer.ex:132: JS2E.Printer.print_schema/3

make: *** [src/ArmyListsSummary.elm] Error 1

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "summary",
"description": "Meshwesh summary",
"$id": "https://github.com/marcpawl/Triumph_TTS.git/$summary",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"keywords": {
"type": "array",
"items": {
"type": "string"
}
},
"derivedData": {
"type": "object",
"properties": {
"listStartDate": {
"type": "integer"
},
"listEndDate": {
"type": "integer"
},
"extendedName": {
"type": "string"
}
},
"required": [
"extendedName",
"listEndDate",
"listStartDate"
]
}
},
"required": [
"derivedData",
"id",
"keywords",
"name"
]
}
}
'''

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions