[Solved] your global angular cli version is greater than your local version

[Solved] your global angular cli version is greater than your local version Root cause: If you have developed your angular-cli project in some version, say 1.0.3 in some machine and you are trying to build/compile in the other system which is having higher angular-cli version, say 1.4.2 then you will get this warning message “your global angular cli version is

124 total views, 6 views today

» Read more

[Solved] node sass could not find a binding for your current environment windows 64-bit with node.js 6.x

[Solved] node sass could not find a binding for your current environment windows 64-bit with node.js 6.x Root cause: This issue will happen if you have moved your angular cli project from 32bit to 64bit environment. Ensure you are rebuilding the node-sass to resolve this issue.   Command to rebuild: npm rebuild node-sass   Issue Screenshot:     Fixing using

96 total views, no views today

» Read more

[Resolved] java.util.LinkedHashMap cannot be cast to org.json.simple.JSONObject

[Resolved] java.util.LinkedHashMap cannot be cast to org.json.simple.JSONObject This issue may happen for various use cases, I have explianed my usecase with the explanation below, hope it helps someone. My JSON string / JSON response sample is: {“itemName”:”Amazon”,”id”:1}   Issue code: for(int i=0;i<selectedStoresJsonArray.size();i++){ JSONObject jsonObj = (JSONObject) selectedStoresJsonArray.get(i); if(null!=jsonObj.get(“itemName”) && !jsonObj.get(“itemName”).toString().isEmpty()){ tempSelectedStores.add(jsonObj.get(“itemName”).toString()); } }   Here JSONObject is not knowing the

130 total views, 4 views today

» Read more

[Resolved] Illegal attempt to dereference path source [null.categoryList] of basic type

[Resolved] Illegal attempt to dereference path source [null.categoryList] of basic type This issue may happen for various use cases, I have explianed my usecase with the explantion, hope it helps someone.   Issue code: Expression catInExp = couponRoot.get(“categoryList”).get(“categoryName”); Predicate categoryInPredicate = catInExp.in(tempCategoryNamesSelected); allPredicates.add(categoryInPredicate);   Code Fixed: Expression catInExp = couponRoot.join(“categoryList”).get(“categoryName”); Predicate categoryInPredicate = catInExp.in(tempCategoryNamesSelected); allPredicates.add(categoryInPredicate);   My Coupon Model: @Entity

118 total views, 3 views today

» Read more

[Resolved] Class Subject incorrectly extends base class Observable

[Resolved] Class Subject incorrectly extends base class Observable:   I was having the rxjs and typescript version in the package.json:   “rxjs”: “^5.4.0”, “typescript”: “^2.4.2”,   Issue screenshot:   I modified the rxjs version to ^5.4.2┬áin package.json and ran npm install and it resolved my issue. After Fixing the Screenshots:   Stackoverflow link 120 total views, no views today

120 total views, no views today

» Read more

[Resolved] org.hibernate.hql.internal.ast.QuerySyntaxException: store is not mapped

[Resolved] org.hibernate.hql.internal.ast.QuerySyntaxException: store is not mapped I got this exception org.hibernate.hql.internal.ast.QuerySyntaxException: store is not mapped, because store is not my class name it should be Store (S – capital). When we are writing the HQL, it is mandatory to maintain the cases like how it is exactly. I have provided the sample issue and resolved one for your quick reference.

150 total views, 1 views today

» Read more

[Resolved] Cannot find module ‘@angular/animations’

[Resolved] Cannot find module ‘@angular/animations’ When you are using angular material with angular 4 then you will come across this error “Cannot find module ‘@angular/animations’“. In angular 2 when you install angular material angular animations also will be installed and imported from core. but now in angular 4 angular animation is moved to a separate package and angular/core is deprecated.

455 total views, 2 views today

» Read more

[Resolved] Error: Bad value 300px for attribute width on element img: Expected a digit but saw p instead.:

[Resolved] Error: Bad value 300px for attribute width on element img: Expected a digit but saw p instead.: When you want to improve SEO score of your site or any web page then keeping w3c validation passed will also help to achieve it. You can check all your SEO attributes and consideration in lot of online free tools available.  

214 total views, 1 views today

» Read more

[Resolved] Unclean shutdown detected Mongodb

[Resolved] Unclean shutdown detected Mongodb   Issue: 2016-12-21T10:15:12.400+0530 I CONTROL [main] 2016-12-21T10:15:12.402+0530 W CONTROL [main] 32-bit servers don’t have journaling enabled by default. Please use –journal if you want durability. 2016-12-21T10:15:12.403+0530 I CONTROL [main] 2016-12-21T10:15:12.414+0530 I CONTROL [main] Hotfix KB2731284 or later update is not installed, will zero-out data files 2016-12-21T10:15:12.420+0530 I CONTROL [initandlisten] MongoDB starting : pid=6620 port=27017 dbpath=c:\mongodb\data\db

299 total views, 2 views today

» Read more

[Resolved] connect@src/mongo/shell/mongo.js

[Resolved] connect@src/mongo/shell/mongo.js:   It is due to the incorrect start of mongodb engine, below links can help you to resolve this issue,   [Resolved] exception in initandlisten mongodb   [Resolved] W NETWORK [thread1] Failed to connect to 127.0.0.1     [Resolved] the default storage engine ‘wiredtiger’ is not available 273 total views, no views today

273 total views, no views today

» Read more
1 2 3 11