Skip to content
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

ignite new NewApp -b ignite-kryptonite not working #13

Open
DevDaoud opened this issue May 30, 2019 · 0 comments
Open

ignite new NewApp -b ignite-kryptonite not working #13

DevDaoud opened this issue May 30, 2019 · 0 comments

Comments

@DevDaoud
Copy link

After launching the command i got the following log.
Could you correct this or at least give some indications on how to correct it ?
Thank you.

πŸ”₯ igniting app goodappeweb
βœ” using the Kryptonite boilerplate
βœ” installed Create React App
βœ” Made a new React App called undefined
βœ” Woot! undefined has been ignite-ified
Error: Error: Couldn't load command component -- needs a "run" property with a function.

  • command-loader.js:53 Object.loadCommandFromFile
    [global]/[gluegun]/build/loaders/command-loader.js:53:15

  • plugin-loader.js:40
    [global]/[gluegun]/build/loaders/plugin-loader.js:40:105

  • Array.map

  • plugin-loader.js:40 Object.loadPluginFromDirectory
    [global]/[gluegun]/build/loaders/plugin-loader.js:40:59

  • runtime.js:172 Runtime.addPlugin
    [global]/[gluegun]/build/runtime/runtime.js:172:38

  • runtime.js:201
    [global]/[gluegun]/build/runtime/runtime.js:201:58

  • Array.map

  • runtime.js:201 Runtime.addPlugins
    [global]/[gluegun]/build/runtime/runtime.js:201:24

  • builder.js:139
    [global]/[gluegun]/build/domain/builder.js:139:61

  • Array.forEach

/Users/daoud/.config/yarn/global/node_modules/gluegun/build/index.js:13
throw up;
^

Error: Error: Couldn't load command component -- needs a "run" property with a function.
at Object.loadCommandFromFile (/Users/daoud/.config/yarn/global/node_modules/gluegun/build/loaders/command-loader.js:53:15)
at /Users/daoud/.config/yarn/global/node_modules/gluegun/build/loaders/plugin-loader.js:40:105
at Array.map ()
at Object.loadPluginFromDirectory (/Users/daoud/.config/yarn/global/node_modules/gluegun/build/loaders/plugin-loader.js:40:59)
at Runtime.addPlugin (/Users/daoud/.config/yarn/global/node_modules/gluegun/build/runtime/runtime.js:172:38)
at /Users/daoud/.config/yarn/global/node_modules/gluegun/build/runtime/runtime.js:201:58
at Array.map ()
at Runtime.addPlugins (/Users/daoud/.config/yarn/global/node_modules/gluegun/build/runtime/runtime.js:201:24)
at /Users/daoud/.config/yarn/global/node_modules/gluegun/build/domain/builder.js:139:61
at Array.forEach ()
βœ” copied boilerplate
βœ” generated files from templates
an error occured while installing ignite-kryptonite boilerplate.
TypeError [ERR_INVALID_ARG_TYPE]: The "directory" argument must be of type string. Received type undefined
at validateString (internal/validators.js:107:11)
at process.chdir (internal/process/main_thread_only.js:28:5)
at Object.install (/Users/daoud/workspace/goodappe/ignite/goodappeweb/node_modules/ignite-kryptonite/boilerplate.js:124:11)
at processTicksAndRejections (internal/process/task_queues.js:89:5)
error installing boilerplate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant