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! While you're at it, check out some resources Treehouse students have shared here.

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#

Cannot upload files higher than 5 MB error

For the question "Local Code Challenge: In this challenge, you'll start building out the Issue Tracker API by adding the Web API framework to the provided, empty ASP.NET project." of building our service of ASP.NET Web API I could not upload the solution. The compiled project size around 48 MB but treehouse will not let me upload files higher than 5 MB. How did others overcome this problem?

The test have passed successfully the problem is with the gulp file. I have installed gulp from the nuget and tried running the gulp task from the task runner and I get the following error

1>------ Rebuild All started: Project: IssueTrackerShared, Configuration: Release Any CPU ------ 1> IssueTrackerShared -> C:\treehousesamples\lcc-dotnet-aspnet-web-api-s2cc1\lcc-dotnet-aspnet-web-api-s2cc1\src\IssueTrackerShared\bin\Release\IssueTrackerShared.dll 2>------ Rebuild All started: Project: IssueTracker, Configuration: Release Any CPU ------ 2> IssueTracker -> C:\treehousesamples\lcc-dotnet-aspnet-web-api-s2cc1\lcc-dotnet-aspnet-web-api-s2cc1\src\IssueTracker\bin\IssueTracker.dll 2> INFO: Could not find files for the given pattern(s). 2>C:\treehousesamples\lcc-dotnet-aspnet-web-api-s2cc1\lcc-dotnet-aspnet-web-api-s2cc1\src\packages\MSBuild.Node.0.5.1\build\MSBuild.Node.targets(29,9): error : Global NodeJS installation not found. Please set the 'NODEJS' environment variable for a global installation or set the 'LocalNodePath' property in your project file for a local installation. 3>------ Rebuild All started: Project: IssueTrackerTests, Configuration: Release Any CPU ------ 3> IssueTrackerTests -> C:\treehousesamples\lcc-dotnet-aspnet-web-api-s2cc1\lcc-dotnet-aspnet-web-api-s2cc1\src\IssueTrackerTests\bin\Release\IssueTrackerTests.dll ========== Rebuild All: 2 succeeded, 1 failed, 0 skipped ==========

1 Answer

Zhaopeng Wang
seal-mask
PLUS
.a{fill-rule:evenodd;}techdegree seal-36
Zhaopeng Wang
Full Stack JavaScript Techdegree Graduate 32,210 Points

You have to use Gulp task runner. It will run the project.msbuild file in the file directory and generate a project.zip file for you. Then you need to upload that zip file. You might need to install node.js, npm at your machine. In your command line tool, run npm install gulp-cli -g Then goes to the Issue Tracker project directory, such as ......./src/IssueTracker Run gulp default