Skip to content
This repository was archived by the owner on Oct 8, 2019. It is now read-only.
This repository was archived by the owner on Oct 8, 2019. It is now read-only.

Command model create failed #10

@padak

Description

@padak

I'm following https://github.com/supermodel/supermodel-cli#getting-started. Everything went well till supermodel model create MyModel. It throw an error:

/usr/local/lib/node_modules/@supermodel/cli/build/src/commands/model/create.js:35
    var modelFileName = superlib.camelize(basename);
                                 ^

TypeError: superlib.camelize is not a function
    at runCreate (/usr/local/lib/node_modules/@supermodel/cli/build/src/commands/model/create.js:35:34)
    at Command.<anonymous> (/usr/local/lib/node_modules/@supermodel/cli/build/src/commands/model/cli.js:11:38)
    at Command.listener (/usr/local/lib/node_modules/@supermodel/cli/node_modules/commander/index.js:315:8)
    at Command.emit (events.js:182:13)
    at Command.parseArgs (/usr/local/lib/node_modules/@supermodel/cli/node_modules/commander/index.js:654:12)
    at Command.parse (/usr/local/lib/node_modules/@supermodel/cli/node_modules/commander/index.js:474:21)
    at Object.<anonymous> (/usr/local/lib/node_modules/@supermodel/cli/build/src/commands/model/cli.js:17:6)
    at Module._compile (internal/modules/cjs/loader.js:722:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:733:10)
    at Module.load (internal/modules/cjs/loader.js:620:32)
Petr-MacBook-Pro-2:MyApp padak$ 

Is it bug or something on my side?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions