TypeError: Cannot read property 'getMetaTaskName' of undefined
at module.exports (/Users/tadatuta/Sites/svg-example/node_modules/enb-magic-platform/lib/run-tasks.js:14:27)
In run-tasks.js:
module.exports = function (tasks, makePlatform, opts) {
var factory = makePlatform._projectConfig._modules['enb-magic-factory'],
in runtime makePlatform._projectConfig._modules is just an empty object.
enb-magic-factory is installed:
ls node_modules/ | grep magic
enb-magic-factory
enb-magic-platform
Project to reproduce: https://github.com/theprotein/svg-example
Error text:
In
run-tasks.js
:in runtime
makePlatform._projectConfig._modules
is just an empty object.enb-magic-factory
is installed:This check https://github.com/enb-bem/enb-magic-platform/blob/7891309dda2fe1a4ed297f3310964c28a2d6d13b/lib/run-tasks.js#L21 was never reached.
I tryed to update npm deps:
but with no luck.
// cc @verybigman