This project has moved and is read-only. For the latest updates, please go here.

Error 4 The command "cd..TicketDesk-3\TicketDesk.Web\ weyland build" exited with code 9009.

Apr 4, 2014 at 2:19 AM
I am getting this error while building this project

Error 4 The command "cd..TicketDesk-3\TicketDesk.Web\ weyland build" exited with code 9009.

Can anyone please help.

Apr 4, 2014 at 7:15 AM
This is coming from the post-build command (in the web project's proerties) that is used to build durandal's release-optimized javascript file. Durandal uses weyland, a node.js package, to do the javascript build.

Ticketdesk doesn't run on node.js, but I've configured the visual studio project to automatically run the weyland build command during compilation.

Instructions on setting up weyland can be found on durandal's site here:

It's very simple to install node and weyland, and once installed visual studio should stop giving you that error.

Note that if you build TicketDesk 3 in debug mode, it won't actually use the optimized javascript file when you run the site... if you only plan to play with it locally just remove the post-build command from the project's properties. It's only when you compile in release mode that you might have a problem.
Apr 4, 2014 at 6:04 PM
Edited Apr 4, 2014 at 6:04 PM
Thank you , That resolved the build errors.