Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# Building Services with ASP.NET Web API Building Our Service Adding Web API to a Project

Assertion `args[1]->IsString()' failed? *GULP*

You should update your course material to explain this error, which I assume everyone gets... I'm finding a lot of disccusion about downgrading node, but nothing seems to help.

Failed to run "E:\Visual Studio 2017\Projects\lcc-dotnet-aspnet-web-api-s2cc1\src\IssueTracker\Gulpfile.js"... cmd.exe /c gulp --tasks-simple gulp[15064]: src\node_contextify.cc:631: Assertion `args[1]->IsString()' failed.

1 Answer

luke hammer
luke hammer
25,513 Points

i was able to get it working after this

in Package Manager Console in visual studio

if you have npm installed


npm install gulp@3.9.1 --save-dev

into the console and that seems to allow the task manager to find the gulp file.