Comments (8)
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.
OK, no worries. If there's anything I can do, let me know.
from azure-pipelines-tasks.
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.
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.
Yes.. I have Bower Components..
from azure-pipelines-tasks.
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.
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.
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)
- [BUG]: AzureFunctionAppV2 unable to set connectedServiceNameARM at run time. Fails with error, Input required: azureSubscription HOT 2
- [REGRESSION]: The nuget command failed with exit code(null) and error() HOT 29
- [enhancement]: Enable NuGetCommand publish with allowPackageConflicts for external package feeds
- [BUG]: Agent failed to download tasks / initialize HOT 11
- [BUG]: DownloadSecureFile - Object reference not set to an instance of an object HOT 1
- [REGRESSION]: npmAuthenticate silently fails authenticate to Azure Devops npm feeds HOT 6
- [BUG]: ##[error]Failed to download or parse release-index.json with error: {} HOT 2
- [BUG]: DockerCompose@1 not running on linux system HOT 3
- [BUG]: GithubRelease@1 cannot create release when pipeline is triggered by tag HOT 1
- [BUG]: NuGetAuthenticate@1 doesnot properly escape URL in VSS_NUGET_URI_PREFIXES causing authentication errors HOT 1
- [enhancement]: FuncToolsInstaller@0: Use win-x64 for Windows
- [enhancement]: Allow setting the author in a GitHubRelease task
- [Question]: I Always get the Error of "Unable to find type [list]"when run file from system task by UFT Extension HOT 1
- [enhancement]: VsTestPlatformInstaller add installed version as output variable
- [REGRESSION]: AzureAppConfiguration@10 unable to retrieve token. HOT 5
- [BUG]: Self-hosted linux agent ignores proxy settings during PublishTestResults step HOT 1
- [enhancement]: Make ServiceFabricDeployV1 accept parameter for application name
- [REGRESSION]: VSTest@3 Task version 3.245.1 is not finding any test cases
- [REGRESSION]: Java Tool Installer task HOT 1
- [REGRESSION]: ##[error]Failed to download or parse releases-index.json with error: Request timeout: /dotnet/release-metadata/releases-index.json HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-pipelines-tasks.