We provide complete mobile and web apps development solutions

Thursday, May 5, 2016

Permission issue for ionic


Error: EACCES: permission denied, open '/Users/in074811/.cordova/lib/npm_cache/cordova-ios/4.1.1/package/.npmignore'

Error during untar for /.cordova/lib/npm_cache/cordova-ios/4.1.1/package.tgz: Error: EACCES: permission denied, open '/Users/in074811/.cordova/lib/npm_cache/cordova-ios/4.1.1/package/.npmignore'
Error: Failed to fetch platform ios
Probably this is either a connection problem, or platform spec is incorrect.
Check your connection and platform name/version/URL.



Solution:
It may due to cache problem.

rm -rf ~/.cordova

The operation could'nt be completed.(LaunchServicesError error 0.)

The operation could'nt be completed.(LaunchServicesError error 0.)

Error: Start Page at 'www/index.html' was not found issue in xcode

Error: Start Page at 'www/index.html' was not found

I got this issue while building cordova based application for ios.
I resolved it by providing proper path to index.js

Saturday, January 23, 2016

MongoDB Failed to connect to 127.0.0.1:27017, reason: errno:61 Connection refused

mongo
MongoDB shell version: 3.0.7
connecting to: test
2016-01-23T21:14:51.955+0530 W NETWORK  Failed to connect to 127.0.0.1:27017, reason: errno:61 Connection refused
2016-01-23T21:14:51.957+0530 E QUERY    Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed
    at connect (src/mongo/shell/mongo.js:179:14)
    at (connect):1:6 at src/mongo/shell/mongo.js:179
exception: connect failed
     [initandlisten] 


***aborting after invariant() failure



Solution:

Run mongodb with sufficient permissions.


$ sudo mongod



Wednesday, December 23, 2015

Could not find Developer Disk Image Xcode 7.1

I got an issue "Could not find Developer Disk Image Xcode 7.1" after updating to iOS 9.2.

Thursday, December 3, 2015

_handleNonLaunchSpecificActions:forScene:withTransitionContext:

 ** -[UIApplication _handleNonLaunchSpecificActions:forScene:withTransitionContext:completion:] ** unhandled action -> <FBSSceneSnapshotAction: 0x15fb3d290> {
    handler = remote;
    info = <BSSettings: 0x15f9fbe50> {
        (1) = 5;
    };

}




This info is for iOS during screenshot, you can safely ignore.

Tuesday, November 17, 2015

Cordova iOS - NSAutoresizingMaskLayoutConstraints should not be in there.

Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want. 
Try this: 
(1) look at each constraint and try to figure out which you don't expect; 
(2) find the code that added the unwanted constraint or constraints and fix it. 
(
    "<NSLayoutConstraint:0x1265957d0 V:|-(20)-[UIInputSetContainerView:0x126570180]   (Names: '|':UITextEffectsWindow:0x126530b20 )>",
    "<NSLayoutConstraint:0x1265a81e0 'UIInputWindowController-top' V:|-(0)-[UIInputSetContainerView:0x126570180]   (Names: '|':UITextEffectsWindow:0x126530b20 )>"
)

Will attempt to recover by breaking constraint 

<NSLayoutConstraint:0x1265957d0 V:|-(20)-[UIInputSetContainerView:0x126570180]   (Names: '|':UITextEffectsWindow:0x126530b20 )>

Online Training

Your Name :
Your Email: (required)
Your Message: (required)

Powered by Blogger.

Recent Posts

Find Us On Facebook

Popular Posts