Giter Club home page Giter Club logo

Comments (8)

chrispat avatar chrispat commented on September 13, 2024

I am quite sure this is due to the node packages. We are steadily working on fixing the things we can but some of the underlying issues in the .NET framework are hitting us. Some customers are working around that by deleting all of the node packages at the end of each build.

from azure-pipelines-tasks.

jochenvanwylick avatar jochenvanwylick commented on September 13, 2024

OK, no worries. If there's anything I can do, let me know.

from azure-pipelines-tasks.

shanavt avatar shanavt commented on September 13, 2024

Any update on this? I am facing the same issue. I checked my solution and do not see any files with long filepaths or names..Additional information on pointing the filenames that are violating the rules will be helpful.

from azure-pipelines-tasks.

chrispat avatar chrispat commented on September 13, 2024

Do you have a node_modules directory or something else that has long paths?

From: shanavt [mailto:[email protected]]
Sent: Friday, September 4, 2015 10:23 AM
To: Microsoft/vso-agent-tasks [email protected]
Cc: Chris Patterson [email protected]
Subject: Re: [vso-agent-tasks] Build works - but 'The fully qualified file name must be less than 260 characters' in VSBuild.ps1 v1.0.013 (#377)

Any update on this? I am facing the same issue. I checked my solution and do not see any files with long filepaths or names..Additional information on pointing the filenames that are violating the rules will be helpful.


Reply to this email directly or view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fMicrosoft%2fvso-agent-tasks%2fissues%2f377%23issuecomment-137749484&data=01%7c01%7cChris.Patterson%40microsoft.com%7cc740b90c0cc844f508b308d2b53464fa%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=I44p%2bUQaGMSIyg8VWcZJsMEIWf8bnq%2fQlDAXUR2e8d4%3d.

from azure-pipelines-tasks.

shanavt avatar shanavt commented on September 13, 2024

Yes.. I have Bower Components..

from azure-pipelines-tasks.

brettpostin avatar brettpostin commented on September 13, 2024

As a workaround, try using npm3. The node_modules folder structure is flat by default.

Since doing this a lot of our path headaches have gone away.

from azure-pipelines-tasks.

tuespetre avatar tuespetre commented on September 13, 2024

Here's what I had to do to resolve this issue:

  • Update the VSBuild and MSBuild tasks using tfx
  • Update the agent from the TFS web interface
  • Use npm 3.2.2 on the build server
  • Delete existing workspaces from the build agent's _work folder, just to clean up super-deep npm 2.x-style directories

This takes care of that error when 'restore NuGet packages' is checked. Using a wildcard solution name is a different story though, because even with npm 3.2.2, some node_modules are still just too long. For example, bower 1.6.5 still has a deep dependency branch. So to bite the remaining issues, just be sure to explicitly specify the solution/project files' names on your MSBuild/VSBuild tasks.

from azure-pipelines-tasks.

ericsciple avatar ericsciple commented on September 13, 2024

MSBuild/VSBuild tasks have been fixed to handle long paths in the 1.95 agent. The deployment is rolling out over the course of the next couple weeks. Your agent will need to be updated to 1.95 to get the fix (will happen automatically when the agent is restarted, otherwise can perform via the admin web UI).

from azure-pipelines-tasks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.