Metadata mismatch problems - Angular - json

I am getting the usual error:
ERROR in Error: Metadata version mismatch for module C:/.../node_modules/#ng-bootstrap/ng-bootstrap/index.d.ts, found version
4, expected 3, resolving symbol AppModule in C:/.../app.module.ts, ...
I have looked at other posts on here with regards to version differences in the package.json file, however I am unsure which is causing the issue.

You can see from the github page that bootstrap expects angular version 5.0.2 and you are using 4.2.4. So probably upgrading to angular 5 will solve your issue.
https://github.com/ng-bootstrap/ng-bootstrap/blob/master/package.json

Related

Package error IOS_13 on Windows platform only

I just updated the project to 5.0 from 5.0EA. While in editor everything runs fine but I tried to package it for some testing, and I’m getting the following error, even tho in Project Settings I only have checked Windows as platform. I wasn’t getting this error before, is there something I’m missing?
LogClass: Warning: In asset ‘None’, there is an enum property of type ‘EIOSVersion’ with an invalid value of ‘IOS_13’
LogObj: Error: LoadConfig (/Script/IOSRuntimeSettings.Default__IOSRuntimeSettings): import failed for MinimumiOSVersion in: IOS_13
I uninstalled UE5 and then removed all of it's files from AppData, reinstalled it and the problem is gone. I don't know why it was trying to use IOS too even tho it wasn't checked but at least that was the solution for me. Just uninstalling are reinstalling wasn't enough.

How to resolve range Issue in node_module/webpack-dev-middleware/lib/util.js/131

I have a build issue while running a unit test case in angular 9.
environment
Angular CLI: 9.1.12
Node: 15.1.0
OS: win32 x64
error:
Same error was coming for me too. I commented the if else block in nodemoodules/webpack-dev-middleware/lib/util.js 130. It is because it has undefined value. Now it is working fine. I am beginner, I don't know about the impact else where.
It's an issue with karma on node v15, you'll have to downgrade to 14.
Issue at Karma: https://github.com/karma-runner/karma/issues/3571
See also: [karma-server]: TypeError: Cannot read property 'range' of undefined - Angular Unit Testing in CI environment

Magento 2.2.6 to 2.3.2 upgrade issue

I have recently upgraded my EE magento 2.2.6 to 2.3.2. The category pages are are showing error on front-end:
Exception #0 (DomainException): Undefined factory mysql
Also some of my cms pages showing error (possibly due to newly added functionality of Pagebuilder (turning it off doesn't resolve the issue) by Magento):
Argument 2 passed to Magento\PageBuilder\Plugin\Filter\TemplatePlugin::afterFilter() must be of the type string, null given, called in /vendor/magento/framework/Interception/Interceptor.php on line 146
Anyone??
Resolved: For part 1: It was some configuration issue, so I downloaded the core_config_data table and replaced it with my staging site one
For part 2: I was using VladmirPopov webforms extension, it was causing the issue in cms pages, so downloaded the latest version of webforms extension and replaced it.

Angular 6 - Uncaught ReferenceError: module is not defined vendor.js

I have recently upgraded a .net Core (2.1) / Angular 6 SPA app to the latest versions. I seemed to have done everything correctly at one point, but I made a change that broke the http (port 5000) app. I get an error:
vendor.js:1 Uncaught ReferenceError: module is not defined
at vendor.js:1
This is the first line of the vendor.js file. When I run the app using port 5001 (https), everything seems to work fine. I cannot figure out why there is a difference in the two websites as they are hitting the same code base.
To begin this upgrade, I started with the official dotnet core 2.1 Angular SPA and upgrade angular from 5 to 6.
I had this exact error and fixed it by changing the port number for the App URL in the Project Properties.
Hope this helps, however I'm still not sure what caused the issue.

SQL Error = 0 in Joomla 3.x

I am a newbie and I am facing some strange issues with my Joomla 3.1.1 installation. Whenever I try to do a Joomla global check-in, I get the following error:
SQL=SELECT module FROM SOM_modules WHERE id = table-name
*This is true for all tables
Further, when I try to edit the template custom CSS file from the back-end, I get the following error:
SQL=SELECT module FROM SOM_modules WHERE id =
MTAwNTE6Y3NzL3J0X2RpYW1ldHJpY19yZXNwb25zaXZlLWN1c3RvbS5jc3M=
I am facing the same error even when I try to purge Joomla cache.
In all cases, it only says "An error has occurred" and there is a preceding 0 before the errors above. I presume that is the SQL error 0.
Kindly help. I have checked the forum and googled for hours but can't find any solution. I have also tried resetting directory and file permissions even to 777 - to test, still no luck.
Config Details:
Joomla! version: 3.1.1
PHP version: 5.3.1
MySQL version: 5.5.31
Host: Private VPS
Finally, this issue is resolved. The issue was with another extension called "Content Statistics". Somehow this extension messed up the entire backend. It took quite a lot of time to figure out which extension had caused the problem
After uninstalling the extension and all related modules and plugins, the site has become fully functional again. No more SQL=0 errors and I am being able to edit all css files from the backend. – Mangesh