I am setting up habitat and I was going to installation instructions. When I run “default” task from Visual Studio 2015 Task Runner Explorer, I get the following error.
00:04:18] '05-Sync-Unicorn' errored after 25 ms[00:04:18] TypeError: Cannot read property '0' of undefined at C:\Projects\Habitat\scripts\unicorn.js:25:98 at Parser. (C:\Projects\Habitat\node_modules\xml2js\lib\xml2js.js:489:18) at emitOne (events.js:77:13) at Parser.emit (events.js:169:7) at Object.onclosetag (C:\Projects\Habitat\node_modules\xml2js\lib\xml2js.js:447:26) at emit (C:\Projects\Habitat\node_modules\xml2js\node_modules\sax\lib\sax.js:640:35) at emitNode (C:\Projects\Habitat\node_modules\xml2js\node_modules\sax\lib\sax.js:645:5) at closeTag (C:\Projects\Habitat\node_modules\xml2js\node_modules\sax\lib\sax.js:905:7) at Object.write (C:\Projects\Habitat\node_modules\xml2js\node_modules\sax\lib\sax.js:1452:13) at Parser.exports.Parser.Parser.parseString (C:\Projects\Habitat\node_modules\xml2js\lib\xml2js.js:508:31) [00:04:18] 'default' errored after 2.12 min[00:04:18] TypeError in plugin 'run-sequence(05-Sync-Unicorn)'Message: Cannot read property '0' of undefinedStack:TypeError: Cannot read property '0' of undefined at C:\Projects\Habitat\scripts\unicorn.js:25:98 at Parser. (C:\Projects\Habitat\node_modules\xml2js\lib\xml2js.js:489:18) at emitOne (events.js:77:13) at Parser.emit (events.js:169:7) at Object.onclosetag (C:\Projects\Habitat\node_modules\xml2js\lib\xml2js.js:447:26) at emit (C:\Projects\Habitat\node_modules\xml2js\node_modules\sax\lib\sax.js:640:35) at emitNode (C:\Projects\Habitat\node_modules\xml2js\node_modules\sax\lib\sax.js:645:5) at closeTag (C:\Projects\Habitat\node_modules\xml2js\node_modules\sax\lib\sax.js:905:7) at Object.write (C:\Projects\Habitat\node_modules\xml2js\node_modules\sax\lib\sax.js:1452:13) at Parser.exports.Parser.Parser.parseString (C:\Projects\Habitat\node_modules\xml2js\lib\xml2js.js:508:31)Process terminated with code 1.
Can someone help? Am I missing something?
If I go to unicorn.aspx and try to run Unicorn "Sync" on each project I get an error at http://habitat.dev.local/unicorn.aspx?verb=Sync&configuration=Foundation.Forms&log=Debug
[A] master:/sitecore/layout/Renderings/Modules/Web Forms for Marketers/Mvc Form (f2cca16d-7524-4e99-8ee0-78ff6394a3b3) 2 errors occurred during deserialization. Earlier log messages for items below should be ignored; an error occurred that was retried and failed to correct.master:/sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions/Register an Outcome (90538392-5648-4326-b506-e1913ed1daa8)C:\projects\Habitat\src\Foundation\forms\serialization\Foundation.Forms.WffmActions.RegisterOutcome\Register an Outcome.yml> ParentItemNotFoundException: Exception of type 'Sitecore.Data.Serialization.Exceptions.ParentItemNotFoundException' was thrown.master:/sitecore/layout/Renderings/Modules/Web Forms for Marketers/Mvc Form (f2cca16d-7524-4e99-8ee0-78ff6394a3b3)C:\projects\Habitat\src\Foundation\forms\serialization\Foundation.Forms.Renderings.MvcForm\Mvc Form.yml> ParentItemNotFoundException: Exception of type 'Sitecore.Data.Serialization.Exceptions.ParentItemNotFoundException' was thrown. For full stack traces of each exception, see the Sitecore logs.
Thanks, Gowtham.