Aurelia Validation Plugin - jspm

Any idea what is going on with aurelia-validation (the latest version)? I think something has changed/broken with the versions of the framework/validation I am using. Here are my dependencies currently:
"aurelia-bootstrapper": "github:aurelia/bootstrapper#^0.18.0",
"aurelia-framework": "github:aurelia/framework#^0.17.0",
"aurelia-http-client": "github:aurelia/http-client#^0.12.0",
"aurelia-validation": "github:aurelia/validation#^0.4.1"
As soon as I load the aurelia-validation plugin I get three errors in the chrome console:
Unhandled promise rejection Error: Error invoking TaskQueue. Check the inner error for details. Is there anywhere I can go to find out what versions of the aurelia framework are currently supported by the validation plugin?

It seems that you are trying to use latest version of aurelia-validation with previous version of other Aurelia libraries.
Latest aurelia-validation release is 0.4.1, latest aurelia-framework is 0.18.0, aurelia-bootstrapper 0.19.0 and aurelia-http-client 0.13.0.
Either upgrade all Aurelia libraries to latest version or try to downgrade aurelia-validation to 0.4.0.

Related

Bot Framework Composer - failed

I'm trying to build a chatbot and when I click on start bot I get an error.
Error occurred building the bot
It was not possible to find any compatible framework version The
framework 'Microsoft.AspNetCore.App', version '3.1.0' was not found. -
The following frameworks were found: 5.0.7 at [C:\Program
Files\dotnet\shared\Microsoft.AspNetCore.App] You can resolve the
problem by installing the specified framework and/or SDK. The
specified framework can be found at: -
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=3.1.0&arch=x64&rid=win10-x64
I have all of these installed:
How can I go about resolving this?
Just download the 3.1.o version also and it should work.

Android Studio Flutter Project Dart version confilic with flutter_localizations dependence error

My project working find in windows but when i shift it to mac import from git,
its showing the dartx version confliction with flutter_localizations here is error i am facing in android studio
Because dartx >=0.2.0 <0.4.0 depends on path >=1.6.4 <1.7.0 and every version of flutter_localizations from sdk depends on path 1.7.0, dartx >=0.2.0 <0.4.0 is incompatible with flutter_localizations from sdk.
So, because saray depends on both flutter_localizations any from sdk and dartx ^0.2.0, version solving failed.
pub get failed (1; So, because saray depends on both flutter_localizations any from sdk and dartx ^0.2.0, version solving failed.)
hope this would help:
run flutter pub upgrade and update dependencies to their latest version.

org.gradle.tooling.model.UnsupportedMethodException: Unsupported method: AndroidArtifact.getBuildConfigFields()

I was building my android project on Android Studio 4.2.1.
but I get this error:
org.gradle.tooling.model.UnsupportedMethodException: Unsupported method:
AndroidArtifact.getBuildConfigFields().
The version of Gradle you connect to does not support that method.
To resolve the problem you can change/upgrade the target version of Gradle you connect to.
Alternatively, you can ignore this exception and read other information from the model.
my Gradle version:
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4.1-bin.zip
my Gradle plugin tools version:
com.android.tools.build:gradle:4.1.0-alpha09
The both Gradle and Gradle plugin are the latest versions. The exception says that I need to update/change the connected Gradle version.
I am impossible to upgrade further version because I am already on the latest version. So, the only thing I can do is changing the grade version, but which one?
I was able to build project successfully by using :
classpath 'com.android.tools.build:gradle:4.0.0'
But if you are trying to use jetpack compose you will have to use latest canary version of android studio.

How to fix error Cannot find name 'object' in angular 2 cli ckeditor

I have insalled ng2-ckeditor using cli :
npm install ng2-ckeditor --save
Then Include CKEditor javascript files in my index file :
<script src="https://cdn.ckeditor.com/4.5.11/full/ckeditor.js"></script>
Then imported module in module file:
import { CKEditorModule } from 'ng2-ckeditor';
in imports "CKEditorModule"
and trying to use in html
It show error:
ERROR in
/var/www/html/eventswebsite/frontendapp/node_modules/ng2-ckeditor/lib/ckeditor.component.d.ts
(43,26): Cannot find name 'object'.
"ng2-ckeditor/lib/ckeditor.component.d.ts (43,26): Cannot find name
'object'."
its working if i change
ckeditorInit(config: object)
To
ckeditorInit(config: any)
in npm module ckeditor component file.
I am posting this answer for those who are facing this error "Cannot find name 'object'" irrespective of which component they are getting this error in. This is a tsc compiler version related issue. 'object' is keyword in TS2.2.
I am using VS 2017 Community. By default it shipped with tsc 1.5 ie. typescript compiler version 1.5. I tried updating it from Nuget and also installed "typescript for VS 2017" nothing helped, even though my computer had latest version of typescript, but VS typescript version was still 1.5.
Then I searched for Microsoft's latest update of VS 2017, fortunately for me notification of latest release was found on top bar of VS. After installing the latest update I got my typescript version on VS updated to 2.2. This resolved the issue and compilation errors were gone.
As a side note, you can find the version of typescript VS is using under menu "Help\About Microsoft Visual Studio", then on pop up screen scroll down a bit as shown in below image:

Support library version specification

What is the support library version for compileSdkVersion24 ?
i was using these support libraries.
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
after updating sdk, i tried changing the support version from 23.1.1 to 24.1.1. it says,
failed to resolve com.android.support:design:24.1.1
see this https://developer.android.com/topic/libraries/support-library/revisions.html
Android Support Library,recommend version is 24.0.0
so change this
com.android.support:design:24.1.1
to this
com.android.support:design:24.0.0
24.0.0 Android studio should recommend this.

Resources