Why latest verson of adaptivecards not comppilable anymore for SPFX integration? - adaptive-cards

I was using adaptivecards for my spfx solution. It was working fine for me and now I wanted to upgrade my packages since I was using deprecated versions. I upgraded my solution with latest version of adaptivecards and adaptivecards-templating and adaptivecards-fluentui. After upgrading, while it is failing.
I get the following error:
Error - [tsc] node_modules/adaptivecards/lib/card-elements.d.ts(907,61): error TS1005: ',' expected.
Error - [tsc] node_modules/adaptivecards/lib/card-elements.d.ts(907,67): error TS1005: ',' expected.
Error - [tsc] node_modules/adaptivecards/lib/card-elements.d.ts(908,57): error TS1005: ',' expected.
Error - [tsc] node_modules/adaptivecards/lib/card-elements.d.ts(908,63): error TS1005: ',' expected.
Error - [tsc] node_modules/adaptivecards/lib/card-elements.d.ts(932,54): error TS1005: ',' expected.
Error - [tsc] node_modules/adaptivecards/lib/card-elements.d.ts(932,60): error TS1005: ',' expected.
Error - [tsc] node_modules/adaptivecards/lib/card-elements.d.ts(933,50): error TS1005: ',' expected.
Error - [tsc] node_modules/adaptivecards/lib/card-elements.d.ts(933,56): error TS1005: ',' expected.
Error - 'tsc' sub task errored after 9.14 s
exited with code 2
Can anyone help me here please.

Probably you are using the typescript 3.7 (default that was coming with the SPFx before version 1.13). You may need to upgrade it to 3.9 (that is now coming with the latest SPFx version). May be a duplicate of:
Error - [tsc] node_modules/#fluentui/react/lib/components/ContextualMenu/ContextualMenu.types.d.ts(13,35): error TS1005: ';' expected

Related

LOAD DATA FROM CSV FILE

I am using MacOS for Catalina MySQL.
When I enter the following in Terminal
mysql> LOAD DATA INFILE ‘/Users/MyData/MDRC/Bible Modules/Crosswire_kjv_002.csv’ INTO TABLE tbl_texts_kjv_from_csv FIELDS TERMINATED BY ',';
the response is:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '‘/Users/MyData/MDRC/Bible Modules/Crosswire_kjv_002.csv’ INTO TABLE tbl_text' at line 1
But my input seems to match the refman-8.0-en.pdf. It also seems to match the recomendation in 'Learning MySQL' from O'reilly. I have tried various variations of input, all with the same response.
The file mysql-errors-8.0-en.a4.pdf says:
Error number: 1064; Symbol: ER_PARSE_ERROR; SQLSTATE: 42000
Message: %s near '%s' at line %d
which tells me nothing more than the response.
You need single quote around the file name
LOAD DATA INFILE '/Users/MyData/MDRC/Bible Modules/Crosswire_kjv_002.csv' INTO TABLE tbl_texts_kjv_from_csv FIELDS TERMINATED BY ',';

Creating migration history table "migration" Syntex error

I have this Error when run pipeline on bitbucket
./yii migrate --interactive=0
Yii Migration Tool (based on Yii v2.0.33-dev)
Error: syntax error, unexpected ';'
2020-03-04T05:30:03.930868636Z stdout P Creating migration history table "migration"...
From where this Error come and how to resolve this
This the version issue in yii2. 2.0.32 is stable and 2.0.33 is not stable. So this issue occure

MySQL Error 29. SQL not using correct file path

Working on using the LOAD DATE INFILE syntax to import my csv files into my database. Using windows 10.
Originally when using this syntax I was getting ERROR 1290 which I resolved by adding: secure-file-priv = "" to the .ini file.
I no longer get ERROR 1290 but when i use:
LOAD DATA INFILE 'C:\Users\ovoJa\Downloads\VEN01_562.csv'
INTO TABLE venom
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
I get this ERROR 29:
File 'C:\ProgramData\MySQL\MySQL Server 8.0\Data\UsersovoJaDownloadsVEN01_562.csv' not found (OS errno 2 - No such file or directory)
Why is it still looking in the Programdata file for the .csv file?
try to use this C:\\Users\\ovoJa\\Downloads\\VEN01_562.csv

ERROR in node_modules/#angular/flex-layout/extended/typings/style/style.d.ts

I am getting an error as below on my Angular 6.0.8 application. I am using Angular CLI and running from VSCode.
ERROR in
node_modules/#angular/flex-layout/extended/typings/style/style.d.ts(72,67):
error TS1144: '{' or '; ' expected.
node_modules/#angular/flex-layout/extended/typings/style/style.d.ts(74,5): error TS1128: Declaration or stat ement expected.
node_modules/#angular/flex-layout/extended/typings/style/style.d.ts(74,33):
error TS1005: ';' expected.
node_modules/#angular/flex-layout/extended/typings/style/style.d.ts(74,39):
error TS1109: Expression expecte d.
node_modules/#angular/flex-layout/extended/typings/style/style.d.ts(79,5): error TS1128: Declaration or stat ement expected.
node_modules/#angular/flex-layout/extended/typings/style/style.d.ts(80,1): error TS1128: Declaration or stat ement expected.
Using the following version in application,
"#angular/flex-layout": "^6.0.0-beta.17",
"typescript": "~2.7.2"
"rxjs": "^6.2.1",
"#angular-devkit/build-angular": "~0.7.4",
"#angular/cli": "~6.0.8",
"#angular/compiler-cli": "^6.0.3",
Please help me to sort out this !!
Try upgrading typescript to 2.9.2 . Works for me with flex-layout 6.0.0-beta.18 and rxjs 6.3.2.
I think this is the Issue in flex-layout.
Revert to 6.2.2 version of RxJS to fix the build.
for further information please see: https://github.com/angular/flex-layout/issues/827

Cakephp3 show syntax error in webserver

When i put the application in the webserver, i receive that error in log file from app/webroot/error_log but the app works normally in localhost.
[14-May-2015 22:51:59] PHP Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /public_html/app/webroot/index.php on line 29
this release will not work on php < 5.3.0
Please, update Your server config like PHP Configuration