Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Any ide for compatibility with Gitlab for CI?
hi everyone. has anyone encounter this error "XMLHttpRequest cannot load http://localhost:8080/api/authenticate?cacheBuster=1482012283368. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:3000' is therefore not allowed access. The response had HTTP status code 403." when trying to connect to a backend API ?
any help will be highly appreciated
now i am getting the following error: " Response for preflight has invalid HTTP status code 403" please help.
Hi there, has anyone come across emulating android and ios applications that connect to a local API backend without having to change the IP adress from localhost to each time when testing on the android emulator ?
Kristian Drucker
Hi, while trying to recover my ionic app, after entering my code I got a 500 server error. Please Ionic devs may you look at it?
hi, can someone please advise on what causes a blank screen when starting an ionic app via m-ionic ?
Diego Lameira
@soffoalbert If I'm not wrong, I got this when some external source couldnt be fetched. Are you using a gmap api or any kind of cdn for some js of yours? Set those script internal or <allow-navigation href="*" /> in config.xml might solve this too
There might be other possibilities, but I can't remember just right now, need debugging =)
People...plz, need help here with icons and splash screen. I do generated all sizes with ionic resources tool but they aren't automatically moved to platforms folders on build. Am I doing something wrong here?
I copied them from /resources to /res folder too...still no game here
Diego Lameira
/all help plz =)
Diego Lameira
the only way I could get my icon and splash showing was moving them to respective platforms folder manually and removing specs from config.xml as seen on an article
This message was deleted
sorry guys
Hi guys, is there a proper way to customize the main graphical header ? I have a search toolbar that I want to set up in the main header-bar, but instead I have it in a sub-header and I lose 44px of height. By the way, this main header isn't owned by a current page. It belongs to the menu but I'd like to set this main header as a direct component of each page. Does it is possible ?
I got another problem, i my <ion-content> i have a list managed by the ng-repeat directive and some filters. The problem is that the scroll doesn't handle properly the dynamic height of the list : "<div class="scroll" style="transform: translate3d(0px, 0px, 0px) scale(1);">" is not reset when the <ion-centent> size changes
Husain Topiwala
Hi guys. I've been trying to run Cordova native plugin in a linux system. I keep getting this error
Failed to install 'cordova-plugin-compat':CordovaError: Failed to find 'ANDROID_HOME' environment variable. Try setting setting it manually.
I have setup everything in my PATH variable and also exported ANDROID_HOME in my profile. Still I keep getting this error.
Jeet Parikh
Hi Guys. How can I run the ionic command using the m-ionic cli... I want to run this command... ionic serve --lab
Anderson Kleber
@jeetparikh why don't you use <gulp watch>?
Mojtaba Behroozi
hi guys, I need to set a key to update automatically my zipalign and jarsigner in apk how can I do that --> (http://ionicframework.com/docs/guide/publishing.html)
Mojtaba Behroozi
Luis Sebastian Urrutia Fuentes
Hi everyone, who lives in NYC?
can anyone please help me with this issue ?

throw er; // Unhandled 'error' event

TypeError: must start with number, buffer, array or string
at fromObject (buffer.js:258:9)
at Function.Buffer.from (buffer.js:118:10)
at new Buffer (buffer.js:97:17)
at DestroyableTransform._transform (/Users/georges/code/sofcare-mobile/node_modules/wiredep/wiredep.js:136:23)
at DestroyableTransform.Transform._read (/Users/georges/code/sofcare-mobile/node_modules/readable-stream/lib/_stream_transform.js:159:10)
at DestroyableTransform.Transform._write (/Users/georges/code/sofcare-mobile/node_modules/readable-stream/lib/_stream_transform.js:147:83)
at doWrite (/Users/georges/code/sofcare-mobile/node_modules/readable-stream/lib/_stream_writable.js:338:64)
at writeOrBuffer (/Users/georges/code/sofcare-mobile/node_modules/readable-stream/lib/_stream_writable.js:327:5)
at DestroyableTransform.Writable.write (/Users/georges/code/sofcare-mobile/node_modules/readable-stream/lib/_stream_writable.js:264:11)
at write (/Users/georges/code/sofcare-mobile/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:623:24)
at flow (/Users/georges/code/sofcare-mobile/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:632:7)
at DestroyableTransform.pipeOnReadable (/Users/georges/code/sofcare-mobile/node_modules/vinyl-fs/node_modules/readable-stream/lib/_streamreadable.js:664:5)
at emitNone (events.js:80:13)
at DestroyableTransform.emit (events.js:179:7)
at emitReadable
at emitReadable (/Users/georges/code/sofcare-mobile/node_modules/vinyl-fs/node_modules/readable-stream/lib/_stream_readable.js:444:5)

everything was working fine and then i started getting this error.
got the solution, for some reasons my index.html file got deleted
Hello Devs ! A first time user of m-ionic ! Looks so promising.. Any update on when the ionic 2 version is gonna be out ?
BTW, thank you so much for offering such a neat suite for ionic 1. Eagerly waiting to get my hands on with ionic 2 suite as well :wink:
i'm working with ionic jhipster ,i create my project and add cors but when i run my app with my android device, i can't connect !!! some help please
Hi All.. how to generate pages with m-ionic
Mustapha GRIOUI
can someone help me in Ionic nested state plz ??
spawn cordova ENOENT
Tommy Parnell
Error no entry
@dhiraj10111995 either a file is locked, missing, or a socket is in use?
probably other cases as well that I can't think of
Ahmadou Waly NDIAYE
I am new with ionic and I just installed the M-ionic generator but when I try to put a button for example I see that the ionic css does not apply on the button
Ahmadou Waly NDIAYE
Who can help me?
Hello i use the login with google and facebook, but when i click the button the windows open and close imediatly, any solution??
I use : https://github.com/angular/angularfire2/blob/master/docs/Auth-with-Ionic3-Angular4.md
thanks !
Niraj Kumar
is there anyone who worked with ionic 1 and help me understand how to update the project for latest android sdks (with firebase)?

Whenever, I try to build it from the command line using ionic platform add android and ionic build android
getting the below output:
Error: ~/ionicworkspace/projectname/platforms/android/gradlew: Command failed with exit code 1 Error output: Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:font ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontStyle ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontWeight

Your help in this regard will be really helpful.


Running on ip-10-2-119-39...
Cloning repository...
Cloning into '/home/gitlab-runner/builds/c9648220/0/project-1'...
Checking out bb82ca24 as master...
Updating/initializing submodules recursively...
$ run "fetch-updates"
Running Stage fetch-updates for Job: 5529444
Checking for build process updates...
$ run "build-app"
Running Stage build-app for Job: 5529444
Parsing ionic.config.json for project settings
Project Settings:
Name: blancinegre
App ID: d86d4afa
Type: ionic-angular
Build script detected in package.json...
$ npm install --quiet --no-optional
npm WARN @angular/animations@5.2.10 requires a peer of @angular/core@5.2.10 but none was installed.
npm WARN bootstrap@4.1.0 requires a peer of popper.js@^1.14.0 but none was installed.

up to date in 5.327s
$ npm install --quiet --no-optional success
$ npm run build
npm info it worked if it ends with ok
npm info using npm@5.3.0
npm info using node@v8.2.1
npm info lifecycle blancinegre@0.0.1~prebuild: blancinegre@0.0.1
npm info lifecycle blancinegre@0.0.1~build: blancinegre@0.0.1

blancinegre@0.0.1 build /usr/src/app
ionic build

ionic-app-scripts build
throw new Error(errors.missingBinary());

Error: Missing binding /usr/src/app/node_modules/node-sass/vendor/linux-x64-57/binding.node
Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 8.x

Found bindings for the following environments:

  • OS X 64-bit with Node.js 8.x

This usually happens because your environment has changed since running npm install.
Run npm rebuild node-sass --force to build the binding for your current environment.
at module.exports (/usr/src/app/node_modules/node-sass/lib/binding.js:15:13)
at Object. (/usr/src/app/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object. (/usr/src/app/node_modules/@ionic/app-scripts/dist/core/bundle-components.js:6:16)
[ERROR] An error occurred while running ionic-app-scripts build (exit code 1)

npm info lifecycle blancinegre@0.0.1~build: Failed to exec build script
npm ERR! errno 1
npm ERR! blancinegre@0.0.1 build: ionic build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the blancinegre@0.0.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/gitlab-runner/.npm/_logs/2018-05-04T12_06_32_795Z-debug.log
npm run build failed
Running after script...
$ run "clean-up"
Running Stage clean-up for Job: 5529444
ERROR: Job failed: exit status 1
when compiling in ionic view gives me this error, has someone happened to him ??

Renato Marinho
This message was deleted
henock tshibanda
hi every body, i can't acces to my rest api. i have this error headers: Object { _headers: Map, _normalizedNames: Map } ​ ok: false ​ status: 0 ​ statusText: "" ​ type: 3 ​ url: null

Hello please help me some one.
I started getting this problem in my all ionic projects when I build android apk. All projects were working 2 days ago, now it started coming in all project.

  • What went wrong:
    A problem occurred configuring root project 'android'.

    Could not find play-services-auth-base-license.aar (com.google.android.gms:play-services-auth-base-license:11.8.0).
    Searched in the following locations:

Renato Marinho
This message was deleted
Anyone knows how to generate a IPA (Ios file) without developer account ? Thanks