Comments (22)
Why this plugin doesn't have versions? One bad commit and every project is down
from vsts-flutter-tasks.
Hi @aloisdeniel,
I tried this pipeline
- task: FlutterInstall@0
displayName: Install Flutter
inputs:
channel: 'stable'
version: 'custom'
customVersion: '1.12.13+hotfix.9'
and got his error: Cannot read property 'version' of undefined
2020-05-08T16:42:08.8602210Z ##[debug]Evaluating condition for step: 'Install Flutter'
2020-05-08T16:42:08.8603380Z ##[debug]Evaluating: SucceededNode()
2020-05-08T16:42:08.8603850Z ##[debug]Evaluating SucceededNode:
2020-05-08T16:42:08.8604380Z ##[debug]=> True
2020-05-08T16:42:08.8604950Z ##[debug]Result: True
2020-05-08T16:42:08.8605530Z ##[section]Starting: Install Flutter
2020-05-08T16:42:08.8612420Z ==============================================================================
2020-05-08T16:42:08.8612810Z Task : Flutter Install
2020-05-08T16:42:08.8613080Z Description : Install the Flutter environment.
2020-05-08T16:42:08.8613380Z Version : 0.2.32
2020-05-08T16:42:08.8613590Z Author : Aloïs Deniel
2020-05-08T16:42:08.8614100Z Help : For more information, take a look at the Flutter [documentation](https://flutter.io)
2020-05-08T16:42:08.8614570Z ==============================================================================
2020-05-08T16:42:09.0295400Z ##[debug]agent.TempDirectory=/Users/runner/runners/2.166.4/work/_temp
2020-05-08T16:42:09.0317510Z ##[debug]loading inputs and endpoints
2020-05-08T16:42:09.0323050Z ##[debug]loading INPUT_CHANNEL
2020-05-08T16:42:09.0354220Z ##[debug]loading INPUT_VERSION
2020-05-08T16:42:09.0358640Z ##[debug]loading INPUT_CUSTOMVERSION
2020-05-08T16:42:09.0360950Z ##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
2020-05-08T16:42:09.0363010Z ##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
2020-05-08T16:42:09.0366270Z ##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
2020-05-08T16:42:09.0374080Z ##[debug]loading SECRET_IOS-DISTRIBUTION_P12-PASSWORD
2020-05-08T16:42:09.0377130Z ##[debug]loading SECRET_ANDROIDKEYSTOREPASSWORD
2020-05-08T16:42:09.0378450Z ##[debug]loading SECRET_KEYCHAINPASSWORD
2020-05-08T16:42:09.0381300Z ##[debug]loading SECRET_SYSTEM_ACCESSTOKEN
2020-05-08T16:42:09.0384150Z ##[debug]loading SECRET_IOS_DEVELOPMENT_P12-PASSWORD
2020-05-08T16:42:09.0385720Z ##[debug]loading SECRET_ANDROIDKEYSTOREKEYPASSWORD
2020-05-08T16:42:09.0388210Z ##[debug]loaded 12
2020-05-08T16:42:09.0407490Z ##[debug]Agent.ProxyUrl=undefined
2020-05-08T16:42:09.0408670Z ##[debug]Agent.CAInfo=undefined
2020-05-08T16:42:09.0410300Z ##[debug]Agent.ClientCert=undefined
2020-05-08T16:42:09.0413480Z ##[debug]Agent.SkipCertValidation=undefined
2020-05-08T16:42:09.0495330Z ##[debug]Agent.ProxyUrl=undefined
2020-05-08T16:42:09.0497060Z ##[debug]Agent.CAInfo=undefined
2020-05-08T16:42:09.0497840Z ##[debug]Agent.ClientCert=undefined
2020-05-08T16:42:09.0502120Z ##[debug]check path : /Users/runner/runners/2.166.4/work/_tasks/FlutterInstall_fca8d27d-85f4-4d5d-a519-8d7a7edf15d7/0.2.32/node_modules/azure-pipelines-tool-lib/lib.json
2020-05-08T16:42:09.0504320Z ##[debug]adding resource file: /Users/runner/runners/2.166.4/work/_tasks/FlutterInstall_fca8d27d-85f4-4d5d-a519-8d7a7edf15d7/0.2.32/node_modules/azure-pipelines-tool-lib/lib.json
2020-05-08T16:42:09.0505380Z ##[debug]system.culture=en-US
2020-05-08T16:42:09.0540870Z ##[debug]channel=stable
2020-05-08T16:42:09.0544840Z ##[debug]version=custom
2020-05-08T16:42:09.0546710Z ##[debug]customVersion=1.12.13+hotfix.9
2020-05-08T16:42:09.1384910Z statusCode: 200
2020-05-08T16:42:09.1553110Z ##[debug]task result: Failed
2020-05-08T16:42:09.1605130Z ##[error]TypeError: Cannot read property 'version' of undefined
2020-05-08T16:42:09.1619240Z ##[debug]Processed: ##vso[task.issue type=error;]TypeError: Cannot read property 'version' of undefined
2020-05-08T16:42:09.1631370Z ##[debug]Processed: ##vso[task.complete result=Failed;]TypeError: Cannot read property 'version' of undefined
2020-05-08T16:42:09.1634430Z ##[section]Finishing: Install Flutter
When I run it with the latest
flutter version instead of v1.12.13+hotfix.9
, then it works 😁
- task: FlutterInstall@0
displayName: Install Flutter
inputs:
channel: 'stable'
version: 'latest'
Hope this helps!
FYI: I run it on the macOS-10.15
VM agent
pool:
vmImage: "macOS-10.15"
from vsts-flutter-tasks.
1.12.13+hotfix.9
I resolved this issue adding the v
to the version string v1.12.13+hotfix.9
from vsts-flutter-tasks.
Yes.. It doesn't work
from vsts-flutter-tasks.
yeah, it is not working...
from vsts-flutter-tasks.
I published a new version without any dependency for http request.
Let me know if it works for you!
from vsts-flutter-tasks.
It seems that distant requests are failing on hosted agents, while working well on local machines.
I just published a 0.2.34
version based on curl. Not the prettiest solution, but let's hope it fixes the issue.
from vsts-flutter-tasks.
And for those who wonder about Azure Pipeline development, it is a real pain! You have different behaviours on hosted agents.
So sorry but I'm alone maintaining all of this, you can host your own extensions if you want to be sure of the stability.
Maybe, Microsoft will maintain this one day with paid engineers, when Xamarin will become obsolete. :)
from vsts-flutter-tasks.
@aloisdeniel do you have any idea about the fix deployment? Bug is really impacting right now ..
Thank you in advance !
from vsts-flutter-tasks.
Same issue here. Is there any way you can revert back to an old version
v0.2.15 worked for me
from vsts-flutter-tasks.
Same issue
from vsts-flutter-tasks.
Same problem here!
from vsts-flutter-tasks.
Same, please fix!
from vsts-flutter-tasks.
It seems to be a dependency that doesn't work on the agent ...
from vsts-flutter-tasks.
Same happens for me, any simpler solution with no upgrades of everything?
from vsts-flutter-tasks.
Same issue
from vsts-flutter-tasks.
I'm still getting this error. ##[error]TypeError: Cannot read property 'version' of undefined
.
==============================================================================
Task : Flutter Install
Description : Install the Flutter environment.
Version : 0.2.33
Author : Aloïs Deniel
Help : For more information, take a look at the Flutter [documentation](https://flutter.io)
==============================================================================
from vsts-flutter-tasks.
Thanks @hectorvillag that seems to have done the trick 🎉
from vsts-flutter-tasks.
Dropping this here in case anyone else runs into this. The Tests
tasks is failing on publishing of results now as well. I've spun up a issue over at #54 if anyone else is having this issue.
from vsts-flutter-tasks.
Thanks a lot @hectorvillag.
I see why now, there's a prefix in the history file. I added the node request logic and added a check to uniformize all version numbers by removing that v
prefix.
I hope we're finally good!
from vsts-flutter-tasks.
Install works ok for us now but not test, there’s another issue raised already for that thought just wanted to clarify if it helps at all.
from vsts-flutter-tasks.
There is dedicated issue.
I’ll close this one, since it seems okay for people.
from vsts-flutter-tasks.
Related Issues (20)
- Please upgrade to the latest flutter SDK version HOT 2
- Xcode Build missingTarget HOT 1
- Http 404 Error while running Flutter Install HOT 3
- Flutter custom install task not considering the channel when searching to download correct release
- Flutter command does nothing HOT 5
- Facing issues with flutter.bat not found when run with azure pipeline for flutter build vs2019 environment
- Build task does not support --dart-define HOT 3
- Flutter extension tasks in pipelines yamp not validating in VSCode
- Flutter flavors doesn't work with iOS build on simulator
- Adding custom arguments to test command
- How to access the directory where it generates the .ipa? HOT 1
- flutter install task failed because https://storage.googleapis.com/flutter_infra/releases/releases_macos.json no longer supported from 2.2.2 HOT 4
- App version
- Package seems not maintained!! Someone created a new one https://github.com/hey24sheep/azure-flutter-tasks HOT 1
- this plugin installs a stable version that is 3 versions behind the current stable version HOT 1
- flutter task is not functioning with iOS agent on azure devops HOT 1
- Add option to include coverage in Flutter Test
- Flutter 2.5.0(stable channel) not found in release history HOT 3
- Please upgrade stable version Flutter 2.5.3 HOT 3
- Please upgrade stable version Flutter 2.8.1
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 vsts-flutter-tasks.