Topic: URGENT ! MDB Angular Pro no longer works after upgrading to 7.4.0
rernens pro asked 5 years ago
due to a general upgrade of my project dependencies I got MDB-pro upgraded to 7.4.
Since then the project won't compile due to issues in MBB Pro public api :
ERROR in node_modules/ng-uikit-pro-standard/public_api.d.ts(1,1): error TS1185: Merge conflict marker encountered.
chunk {main} main.js, main.js.map (main) 1.94 kB [initial] [rendered]
node_modules/ng-uikit-pro-standard/public_api.d.ts(4,1): error TS1185: Merge conflict marker encountered.
node_modules/ng-uikit-pro-standard/public_api.d.ts(48,1): error TS1185: Merge conflict marker encountered.
Damian Gemza staff answered 5 years ago
Guys,
The broken #7.4.0 tag was removed and replaced with the working one.
You're now able to use the working #7.4.0 tag version.
Best Regards,
Damian
Damian Gemza staff answered 5 years ago
Dear @starrcompanies,
Did you removed the node_modules directory and package-lock.json / yarn.lock files? After removing these files you have to execute npm install one more time.
Without removing the lock files the problem won't disappear. This was tested on few applications, and the problem no longer exists.
Best Regards,
Damian
ak.leimrey pro commented 5 years ago
Can confirm, that your solution works. However, in case someone added a version tag in installation #7.4.0 in their npm i statement, they will still get the aforementioned error.
starrcompanies free answered 5 years ago
Full-reinstall of node packages didn't help. How did merge markers get into production code?
rernens pro answered 5 years ago
Damian
I did a full reinstall of my projects .
The problem disappeared after creating a new project with the cli and adding one by one again the needed library with yarn.
Can't tell what happened as both package.json files are identical !
thanks anyway
Damian Gemza staff answered 5 years ago
Guys,
Could you please confirm, if there's a problem with Module not found: Error: Can't resolve 'ng-uikit-pro-standard'
as said Rernens?
Please remove your node_modules, package-lock.json files and execute npm install one more time.
I have checked it, but there's everywhere an ng-uikit-pro-standard
library name.
Best Regards,
Damian
rernens pro answered 5 years ago
It seems that there was another build of mdbangular pro 7.4.0
ng-uikit-pro-standard is no longer found !!!!
Module not found: Error: Can't resolve 'ng-uikit-pro-standard'
it seems that its name is now ng-ukit-pro-standard !
What's going on guys !
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 7.0.0
- Device: any
- Browser: any
- OS: any
- Provided sample code: No
- Provided link: No
Denis free commented 5 years ago
Fixed in fa3c853bc0740b7613a300773f200ce376d95808 commit
rernens pro commented 5 years ago
Problem fixed thanks !