Posts

Showing posts from May, 2016
Error: [$interpolate:noconcat] Error while interpolating: {{url}}{{item.imageurl}}
Strict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required.  See 
       process.nextTick(function() { throw err; })                                      ^MongoError: Error connecting to database: connection 1847 to localhost:27017 closed    at Function.MongoError.create (/node_modules/m

MEAN stack issue

(node) warning: possible EventEmitter memory leak detected. 11 reconnect listeners added. Use emitter.setMaxListeners() to increase limit.
Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file

guard init phantomjs-jasmine ERROR - Error is: No such file or directory @ rb_sysopen

RubyDep: WARNING: Your Ruby is outdated/buggy. (To disable warnings, set RUBY_DEP_GEM_SILENCE_WARNINGS=1)
RubyDep: WARNING: Your Ruby is: 2.3.0 (buggy). Recommendation: install 2.3.1.
21:47:06 - INFO - Writing new Guardfile to C:/Users/Guardfile
21:47:06 - INFO - Run 'gem install win32console' to use color on Windows
21:47:06 - ERROR - Could not load 'guard/phantomjs-jasmine' or '~/.guard/templates/phantomjs-jasmine' or find class Guard::Phantomjsjasmine
21:47:06 - ERROR - Error is: No such file or directory @ rb_sysopen - C:/Users/.guard/templates/phantomjs-jasmine

gem install guard-livereload on windows machine

gem install guard-livereload
ERROR:  Error installing guard-livereload:
        The 'http_parser.rb' native gem requires installed ........


use


gem install guard guard-livereload wdm

Ionic framework- facebook login- ReferenceError: Can't find variable: $q

I got an issue after integrating facebooking login,
for first time, app redirecting to facebook login and getting profile data , but second time, throwing this issue.

ReferenceError: Can't find variable: $q

Unable to install Cordova plugin- Failed to install 'cordova-plugin-camera':Error: EACCES: permission denied, open

npmERR! Error: EACCES: permission denied, symlink '../cordova/bin/cordova' -> '/Users/in074811/Documents/node_modules/.bin/cordova'npmERR!     at Error (native)npmERR!  { [Error: EACCES: permission denied, symlink '../cordova/bin/cordova' -> '/Users/in074811/Documents/node_modules/.bin/cordova']npmERR!   errno: -13,npmERR!   code: 'EACCES',npmERR!   syscall: 'symlink',
npmERR!   path: '../cordova/bin/cordova', Please try running this command again as root/Administrator.







followed these steps:


 npm i cordova@5.1.1 --g

Installing "cordova-plugin-camera" for androidFetching plugin "cordova-plugin-compat" via npmnpmhttpGET https://registry.npmjs.org/cordova-plugin-compatnpmhttp200 https://registry.npmjs.org/cordova-plugin-compatFetching from npm failed: EACCES: permission denied, open '/Users/in074811/.npm/cordova-plugin-compat/1.0.0/package/.npmignore'Failed to install 'cordova-plugin-camera':Err…

ionic google signin decidePolicyForNavigationAction

WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSInvalidArgumentException> Your app is missing support for the following URL schemes: 

I am integrating google signin sdk with ionic. 

Solution:

Info.plist:

                   <key>CFBundleURLSchemes</key>
<array>
<string>fb266347933702779</string>
 <string>URL SCHEME</string>

</array>

this will resolve the issue.

Could not attach to pid:"27798"

unable to attach.
iphone simulator issue.


Solution:
 reset the Simulator content and settings will solve the issue.

Renamed Cordova Plugins from org.apache.cordova.device to cordova-plugin-device

Error: Registry returned 404 for GET on https://registry.npmjs.org/org.apache.cordova.device
Issue is due to Renamed Cordova Plugins  from org.apache.cordova.device to  cordova-plugin-device

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 iosProbably 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