Comments (12)
I copy the content in the node_modules folder in the root folder into Tasks\ReplaceTokens\node_modules and reupload the task. It works fine after that.
from cols-agent-tasks.
I've updated the task packages.json files to include the vso-task-lib. Then I just run npm install
in each task folder to install the package and re-uploaded the extension.
Thanks for reporting the issue!
from cols-agent-tasks.
I am also getting this error. I don't really want to waste time customizing the task. How can I get this working?
from cols-agent-tasks.
Hi @mieliespoor If you install this task via the Marketplace you'll get the latest version that doesn't have this issue. You'll also get automatic updates etc.
from cols-agent-tasks.
Hello, that is where I got the task. I opted for the marketplace version for update reasons...
from cols-agent-tasks.
@mieliespoor which version of TFS are you using? Or are you on VSTS? Can you please include the full build log (sanitized if necessary)?
from cols-agent-tasks.
VSTS.
It failed using a hosted agent and also tried a local agent. The attached logs is for the local agent
ReleaseLogs_50.zip
from cols-agent-tasks.
@mieliespoor I can't repro this - version 0.0.15 of the task runs just fine for me.
Thanks for the logs. Can you have a look in this folder on your build agent: F:\tfa1\tasks\ReplaceTokens\0.0.15
and see if there is a node_modules
folder?
from cols-agent-tasks.
There wasn't. I copied it there myself from another task to try and see if I can get it working. Still the same result.
from cols-agent-tasks.
@mieliespoor Hmm that's strange. Can you delete the folder totally and let the agent re-download the Task?
from cols-agent-tasks.
Yes the task got corrupted, or rather stuck. I deleted the extension and the task still showed up in my list or when I ran. tfx build tasks list.
I then manually deleted the task using tfx and installed the extension again. I did delete the extension yesterday, but never saw the task somehow got left behind.
The task now runs as expected.
from cols-agent-tasks.
Thanks @mieliespoor! Glad you're unstuck.
from cols-agent-tasks.
Related Issues (20)
- rejection id: 1 HOT 4
- Replace Tokens Feature Request: Allow task to work with zip files HOT 3
- An error occurred during deployment plan generation. Deployment cannot continue.
- Cannot see deploymentReport.md in Azure Devops Pipeline after comparison HOT 2
- Possibility to override DatabaseName from 'Test' in generated script
- TFS 2017.3 gives error when using the coverage gate
- Cannot read property 'join' of null
- How do you debug this in Visual studio code
- AZure Devops 2020 Self Signed Cert
- Cannot read property 'endsWith' of undefined HOT 1
- Tag Build or Release task should log an error if it can't tag
- Error When Perform Dacpac Schema Compare in YAML version of Azure Build pipeline
- Replace Tokens Node 6 to 10 Migration HOT 5
- Allow user to configure extension to fail if token replacement is suspect HOT 5
- Tag Build or Release 'A supported task execution handler was not found.' error on TFS 2018 HOT 8
- Example YML for tagging a build is not correct HOT 2
- ##[error]A supported task execution handler was not found. This error usually means the task does not carry an implementation that is compatible with your current operating system. Contact the task author for more details. HOT 3
- DacPacReport: Files in extension version 1.4.152 (task version 1.2.178) differ from latest version in main branch
- New task versions can not be used due to incorrect versioning
- Vulnerability Issue Found HOT 2
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 cols-agent-tasks.