ignite: Ignite command fails and i can't even run the command ignite doctor.
This is the error which is showing when i try to run the ignite command. 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/macbookpro/.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/macbookpro/.config/yarn/global/node_modules/gluegun/build/loaders/command-loader.js:53:15)
at /Users/macbookpro/.config/yarn/global/node_modules/gluegun/build/loaders/plugin-loader.js:40:105
at Array.map (<anonymous>)
at Object.loadPluginFromDirectory (/Users/macbookpro/.config/yarn/global/node_modules/gluegun/build/loaders/plugin-loader.js:40:59)
at Runtime.addPlugin (/Users/macbookpro/.config/yarn/global/node_modules/gluegun/build/runtime/runtime.js:172:38)
at /Users/macbookpro/.config/yarn/global/node_modules/gluegun/build/runtime/runtime.js:201:58
at Array.map (<anonymous>)
at Runtime.addPlugins (/Users/macbookpro/.config/yarn/global/node_modules/gluegun/build/runtime/runtime.js:201:24)
at /Users/macbookpro/.config/yarn/global/node_modules/gluegun/build/domain/builder.js:139:61
at Array.forEach (<anonymous>)
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 18 (8 by maintainers)
same error here on
3.0.0-beta.4Same issue here running
3.0.0-beta.3ignite --helpandignite doctorcommands fail.@James-deWitt https://github.com/infinitered/ignite-maps/releases/tag/v1.0.0 is now compatible with Ignite 3.
This error indicates that you’re using an ignite plugin which has commands that have not yet been updated to support ignite 3. What ignite plugins are you using?
Awesome! I can confirm that my ignite-cli@3.1.1 doesn’t throw up anymore!
If you’re having trouble with the betas, try installing 2.2.4