Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all 49416 articles
Browse latest View live

Refresh Web Image in Ionic Page

$
0
0

@ehpdesigns wrote:

I’ve seen the API for the Refresher in ionic, just having issues getting it to work for me.

The only thing we want to use it for on a particular page is to refresh a web graphic. Part of the page pulls in an actual graphic from app’s website so we didn’t have to rebuild the app every time we updated that graphic. Just trying to figure out the best way to go about it.

Any assistance that could be provided would be greatly appreciated.

Posts: 1

Participants: 1

Read full topic


Clickable link within text from backend

$
0
0

@shortcutjohn wrote:

Hi there,

I’m getting a text block from my backend, and trying to highlight URLs to open an in-app browser with a click event.

Ie. some text might say: “Here is a link: https://google.com”.

I tried adding a new element dynamically, with a (click) event, and got that to work using https://github.com/apoterenko/ngx-dynamic-template, but it fails with AOT compilation.

Does anyone have ideas in how to trigger a (click) event on a certain piece of text that is received from the backend?

Thanks,
John

Posts: 1

Participants: 1

Read full topic

Animated splash screen and white screen

$
0
0

@jamesharvey wrote:

Hello guys,

I’m working on implementing CSS or SVG animation screen on my Ionic app.
I follow two tutorials:

These two methods are about inserting animated HTML page after Ionic’s built-in white loading screen…
Is there any way to completely remove this white loading screen or completely replace it with custom made html loading page?
Let me know if there’s a way.

Thanks.

Posts: 1

Participants: 1

Read full topic

'Content-Type','multipart/form-data' send null values

$
0
0

@khalilben wrote:

Hello,

I have a page that contains both text and picture

And when i want to POST all the data, it send only NULL Values.

MY POST CODE :

 declarerSinistre(){
    //http://michael.laffargue.fr/blog/2016/04/17/angularjs2-send-http-post-request-with-parameters-to-php/
    var headers = new Headers();
    headers.append('Content-Type','multipart/form-data');

    var params = '&entry_by='+this.userDetails.id+'&NomConducteur='+this.userData.NomConducteur+'&TelConducteur='+this.userData.TelConducteur+'&CinConducteur='+this.userData.CinConducteur+'&latitude='+this.la+'&longitude='+this.lo+'&justif1='+this.imageUpload;
    this.http.post(this.apiSinistre, params , {headers: headers})
      .subscribe(
        data => this.afficherAlert('Réussite','Sinistre Déclaré'),
        err => this.afficherAlert('Erreur','Sinistre Non Déclaré')
      );
  }

AND THE PICTURE PART

/*PARTIE PHOTO DEBUT*/
  ngOnInit() {
    this.photos = [];
  }
  deletePhoto(index) {
    let confirm = this.alertCtrl.create({
      title: "Est-ce que vous êtes sûr ?",
      message: "",
      buttons: [
        {
          text: "Non",
          handler: () => {
            console.log("Disagree clicked");
          }
        },
        {
          text: "Oui",
          handler: () => {
            console.log("Agree clicked");
            this.photos.splice(index, 1);
          }
        }
      ]
    });
    confirm.present();
  }

  takePhoto() {
    //console.log("coming here");

    const options: CameraOptions = {
      quality: 50,
      destinationType: this.camera.DestinationType.DATA_URL,
      encodingType: this.camera.EncodingType.JPEG,
      mediaType: this.camera.MediaType.PICTURE
    };

    this.camera.getPicture(options).then(
      imageData => {
        this.base64Image = "data:image/jpeg;base64," + imageData;
        this.photos.push(this.base64Image);
        this.photos.reverse();
        this.imageUpload=imageData;
      },
      err => {
        console.log(err);
      }
    );
  }
  /*PARTIE PHOTO FIN*/

When i don’t send picture, all the others informations are sent without problem. Only when i add picture that i have this problem…

Any help ??

Posts: 1

Participants: 1

Read full topic

--prod version android-debug.apk for release?

$
0
0

@jamesharvey wrote:

Hello,

I can confirm --prod version android-debug.apk doesn’t have long white loading screen issue.
It goes directly to Ionic app page after showing a gray screen for 2 seconds.

Is production version of app suitable for publishing on Google Play store?
I found this version can’t be signed and zipped (zipalign).

I want to reduce loading time of ionic app very much. --release build apk files all have this issue and I think this prevents me from building a real, professional app.

Is there anyone using --prod version for final release on play store? is that even possible?

Thanks,

Posts: 1

Participants: 1

Read full topic

How to set color from a variable with the Hex code on a tab bar?

$
0
0

@Abhisht12 wrote:

Hi,
I was developing an app on Ionic 2 that requires a child page to have a tabbar(with tabs!) after a parent page which also has a tab bar.
The first problem I had was that the parent tabbar color(from the tabbar class) was being applied to the child tab bar.
Also how do we apply a color from a variable to the tabbar? For example I want the background color to be (#4444).
It might be really trivial to some here but I am absolutely struggling with this problem because the tabs component generates a div after the tabs component and I have no idea as to how I can set the color on that div from a variable!

Posts: 1

Participants: 1

Read full topic

White splash screen color change?

$
0
0

@jamesharvey wrote:

Hello Ionic users,

As all of you guys know, Ionic release apk file will come with white splash screen error easily…

Is there any way to change this white splash screen’s color?

For instance, into blue or yellow? I learned a way to implement an animated html page after this white splash screen…
I want to change white splash screen’s background color to make seamless transition to animated logo html page.


I hope this is possible…

Thanks,

Posts: 1

Participants: 1

Read full topic

Ionic slide for dynamic forms

$
0
0

@davidvalen95 wrote:

so here is the condition
I’m making multi template driven form, if satisfied then ionic-slide will trigger next.

which mean i had to pass the value of #currentForm="ngForm" to the TS function submitForm(#currentForm) then check if currentForm.valid in the ts

problem is that, i cannot make any dynamic ID to pass in the function #anotherForm, #anotherForm2 because of angular syntax hence i must rewrite all other forms

do you have any sugestion how to make it DRY

i have an idea to submitForm($event) and cast event as NgForm but cannot


  <ion-slide >
          <h2>{{this.vechileForm.title}}</h2>
            <form class="ionContent" #idVechileForm="ngForm"  (submit)="completionFormSubmit(idVechileForm)">
              <ion-list *ngFor="let currentBaseForm of this.vechileForm.baseForms" >
                    <floating-input [parentForm]="idVechileForm" [baseForm]="currentBaseForm"></floating-input>
              </ion-list>

              <button  ion-button=""  type="button" (click)="slidePrevious()" color="light">Previous</button>
              <button  ion-button=""  color="primary">Next</button>
            </form>
        </ion-slide>

        <ion-slide >

          <h2>{{hostForm.title}}</h2>
          <form class="ionContent" #idHostForm="ngForm"  (submit)="completionFormSubmit(idHostForm)">
            <ion-list *ngFor="let currentBaseForm of hostForm.baseForms">
              <floating-input  [parentForm]="idHostForm" [baseForm]="currentBaseForm"></floating-input>
            </ion-list>
            <button  ion-button=""  type="button" (click)="slidePrevious()" color="light">Previous</button>
            <button  ion-button="" color="primary">Submit</button>
          </form>
        </ion-slide>


  completionFormSubmit(form: NgForm) {
    if (form.valid) {
      this.slideNext();
      for(var key in form.value){
        console.log('sdfsdfdsfsd');
        this.formValues[key] = form.value[key];
      }
    }
    else {
      this.alert("Field(s) is not valid");
    }


  }

Posts: 1

Participants: 1

Read full topic


How to capture link clicks from dynamic html?

$
0
0

@AndyEverspring wrote:

I get HTML from a server that I display in the app. Sometimes the HTML includes links, but instead of navigating to the URL on click I would like to do something else. How can this be accomplished?

Something akin to shouldStartLoadWithRequest in iOS webViews is what I’m looking for.

I’ve tried adding eventListeners directly to the DOM, with minimal success. There must be a cleaner way?

Posts: 1

Participants: 1

Read full topic

Extend build-in component with a custom directive - range

$
0
0

@morphist wrote:

I really need to get a vertical range component for my app. So I looked at this tutorial here:

And then I read this:

So specifically these lines:
Metadata (decorators): metadata (e.g. @Input(), @Output), etc. defined in a derived class will override any previous metadata in the inheritance chain otherwise the base class metadata will be used.

So does this mean that I can sort of take standard “horizontal” range component and extend it using a custom directive by just overriding X value it is using for range with Y??

If that would be as simple as that I don’t get it what is the problem to make vertical range element a standard…

Posts: 1

Participants: 1

Read full topic

Do I really need to declare initializeApp twice in order to use firebase SDK and AngularFireModule?

$
0
0

@JeffMinsungKim wrote:

Everything is working fine at the moment but I’m not sure why I have to write initializeApp twice at app.module.ts.
If I remove initializeApp statement for firebase SDK from app.module.ts, then I get the following error.

Firebase: No Firebase App ‘[DEFAULT]’ has been cre…- call Firebase App.initializeApp() (app/no-app).

app.module.ts

import { AngularFireModule } from 'angularfire2';
import { AngularFireDatabaseModule, AngularFireDatabase } from 'angularfire2/database';
import { AngularFireAuthModule } from 'angularfire2/auth';
import { environment } from '../environments/environment'

import * as firebase from 'firebase/app';

firebase.initializeApp(environment.firebase);
@NgModule({
  declarations: [
    MyApp
  ],
  imports: [
    BrowserModule,
    FormsModule,
    ReactiveFormsModule,
    HttpModule,
    IonicModule.forRoot(MyApp),
    AngularFireModule.initializeApp(environment.firebase),
    AngularFireAuthModule,
    AngularFireDatabaseModule,
  ],
...
providers: [
    AngularFireDatabase,
    ...
    {provide: ErrorHandler, useClass: IonicErrorHandler}
  ]

auth-service.ts

import { AngularFireDatabase, AngularFireList, AngularFireObject } from 'angularfire2/database';
import * as firebase from 'firebase/app';

constructor(
    private afAuth: AngularFireAuth,
    private afDB: AngularFireDatabase) { }

resetPassword(email: string) {
    return new Promise((resolve, reject) => {
      firebase.auth().sendPasswordResetEmail(email).then(() => {resolve({status: true});
    }).catch(err => reject(err));
    });
  }

Ionic Info

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.0
ionic (Ionic CLI) : 3.19.0

global packages:

cordova (Cordova CLI) : 7.1.0

local packages:

@ionic/app-scripts : 3.1.2
Cordova Platforms  : none
Ionic Framework    : ionic-angular 3.9.2

Posts: 1

Participants: 1

Read full topic

IOS click delay with ion-list in slider

$
0
0

@cccr wrote:

I’m experiencing a click delay on IOS when using an ion-silder with an ion-list when there is a long list of ion-items. It works perfectly on android. If the list on each slide only contains a few items, no delay is experienced.

No delay is ever experienced without the slider regardless of list item length.

I’m aware that from a design perspective, it’s probably not the norm, but it works fantastic on Android.

ionic: 3.19.0

<ion-content>
 <ion-slides pager>
  <ion-slide *ngFor="let category of storageService.categories">
   <ion-list no-lines>
     <ion-item *ngFor="let audioFile of category.audioFiles" (tap)="audioService.play(audioFile)">
     {{ audioFile.name }}
    </ion-item>
   </ion-list>
  </ion-slide>
 </ion-slides>
</ion-content>

Posts: 1

Participants: 1

Read full topic

Ion input does not work

$
0
0

@touqeeraslam786 wrote:

In my ionic 2 app i applied angular 2 form validations in it . but when i touch on ion input it works well but when i move to other ion input and get back to previous input for changings but i am unable to write even it does not focus ??
can you please guide? did a lot of research on it but found nothing.

            <ion-item>
              <ion-icon item-left name="ios-mail-outline" ></ion-icon>


              <ion-input #email formControlName="email" type="email" placeholder="Email" (keyup.enter)="keytab($event)" >

            </ion-input>

            <!-- <ion-icon name="ios-camera-outline" item-right ></ion-icon>          -->
             </ion-item>

            <ion-item class="error-message" *ngIf="!loginForm.controls.email.valid  &&
            loginForm.controls.email.dirty">
          Invalid email address.
            </ion-item>
            <ion-item>

              <ion-input  #password formControlName="password" type="password" placeholder="Password" ></ion-input>
              <ion-icon item-left name="ios-lock-outline" ></ion-icon>

            </ion-item>
           <ion-item class="error-message" *ngIf="!loginForm.controls.password.valid  &&
            loginForm.controls.password.dirty">
            minimum six characters required
           </ion-item>

Posts: 1

Participants: 1

Read full topic

Animation working only once

$
0
0

@jeelani wrote:

i have an image displayed and an animation assigned to it. The image can be swiped left or right to view the next or previous image but the animation only works one time at the first image. i want the animation to work each time the image is changed and also how to implement pinch zoom on the image

<ion-content padding>

		<div  class=" " (swipe)="swipeEvent($event)" >
	<img   class="animated fadeInRight "   src="{{src}}" />
	</div>

</ion-content>

Posts: 1

Participants: 1

Read full topic

Audio Capturing setRate()

$
0
0

@guyjoules wrote:

I’m using Media to successfully record and capture audio files on Android.
By default the files created have a sample rate of 16k which is too low for my needs.
I’ve noticed there is a setRate() but I can’t find which values it accepts.

Please advise.

Posts: 1

Participants: 1

Read full topic


Cannot ViewChild ion-infinite-scroll, cannot call its method then

$
0
0

@davidvalen95 wrote:

so i need to enable the ion-infinite-scroll from other function rather than its output emited (ionInfinite)=doInfinite($event)

my html for infinite scroll, notice that we pass $event instead of #infiniteScroll, its wierd, we usually pass the instance of #

<ion-infinite-scroll #infiniteScroll (ionInfinite)="doInfinite($event)">
      <ion-infinite-scroll-content>LLoading</ion-infinite-scroll-content>
    </ion-infinite-scroll>


this is the doInfitinet output emit callback

// ionInfinite output emited
// this will disable infinitescroll if pagination is completed
  public doInfinite(infinite:InfiniteScroll){
    if(this.visitationData.length >= (this.visitationData[0].maxpage)) {
      infinite.enable(false);

    }else{
      infinite.enable(true);

      this.getVisitation(this.visitationData.length+1).then(data=>{
        if(data){
          infinite.complete();

        }
      });
    }


  }

this is the other function


  @ViewChild('infiniteScroll') public infiniteScroll:InfiniteScroll;
  public filterChanged() {
    console.log(this.filter);
    this.visitationData = [];
    // this.infiniteScroll.enable(true)  <--  this calling method is from ViewChild, this line generate error
    this.getVisitation();
  }



the error generated says, which mean its not a Infinite scroll

TypeError: this.infiniteScroll.enable is not a function

please help me

Posts: 1

Participants: 1

Read full topic

Can not make new project (ionic 3)

$
0
0

@MElkawa wrote:

E:\my files\Infinity Room\App>ionic start gym sidemenu
√ Creating directory .\gym - done!
√ Downloading and extracting sidemenu starter - done!
√ Personalizing ionic.config.json and package.json - done!

Installing dependencies may take several minutes.

  *   IONIC  DEVAPP  *

 Speed up development with the Ionic DevApp, our fast, on-device testing mobile app

  -     Test on iOS and Android without Native SDKs
  -     LiveReload for instant style and JS updates

 ️->    Install DevApp: https://bit.ly/ionic-dev-app    <-

> npm i
× Running command - failed!
[ERROR] An error occurred while running npm i (exit code 1):



        > node-sass@4.5.3 install E:\my files\Infinity
        Room\App\gym\node_modules\node-sass
        > node scripts/install.js

        Downloading binary from
        https://github.com/sass/node-sass/releases/download/v4.5.3/win32-x64-59_binding.node
        Cannot download
        "https://github.com/sass/node-sass/releases/download/v4.5.3/win32-x64-59_binding.node":


        HTTP error 404 Not Found

        Hint: If github.com is not accessible in your location
               try setting a proxy via HTTP_PROXY, e.g.

               export HTTP_PROXY=http://example.com:1234

        or configure npm proxy via

               npm config set proxy http://example.com:8080

        > uglifyjs-webpack-plugin@0.4.6 postinstall E:\my files\Infinity
        Room\App\gym\node_modules\uglifyjs-webpack-plugin
        > node lib/post_install.js


        > node-sass@4.5.3 postinstall E:\my files\Infinity
        Room\App\gym\node_modules\node-sass
        > node scripts/build.js

        Building: C:\Program Files\nodejs\node.exe E:\my files\Infinity
        Room\App\gym\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose
        --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
        gyp info it worked if it ends with ok
        gyp verb cli [ 'C:\\Program Files\\nodejs\\node.exe',
        gyp verb cli   'E:\\my files\\Infinity
        Room\\App\\gym\\node_modules\\node-gyp\\bin\\node-gyp.js',
        gyp verb cli   'rebuild',
        gyp verb cli   '--verbose',
        gyp verb cli   '--libsass_ext=',
        gyp verb cli   '--libsass_cflags=',
        gyp verb cli   '--libsass_ldflags=',
        gyp verb cli   '--libsass_library=' ]
        gyp info using node-gyp@3.6.2
        gyp info using node@9.2.0 | win32 | x64
        gyp verb command rebuild []
        gyp verb command clean []
        gyp verb clean removing "build" directory
        gyp verb command configure []
        gyp verb check python checking for Python executable "python2" in the PATH
        gyp verb `which` failed Error: not found: python2
        gyp verb `which` failed     at getNotFoundError (E:\my files\Infinity
        Room\App\gym\node_modules\which\which.js:13:12)
        gyp verb `which` failed     at F (E:\my files\Infinity
        Room\App\gym\node_modules\which\which.js:68:19)
        gyp verb `which` failed     at E (E:\my files\Infinity
        Room\App\gym\node_modules\which\which.js:80:29)
        gyp verb `which` failed     at E:\my files\Infinity
        Room\App\gym\node_modules\which\which.js:89:16
        gyp verb `which` failed     at E:\my files\Infinity
        Room\App\gym\node_modules\isexe\index.js:42:5
        gyp verb `which` failed     at E:\my files\Infinity
        Room\App\gym\node_modules\isexe\windows.js:36:5
        gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:166:21)
        gyp verb `which` failed  python2 { Error: not found: python2
        gyp verb `which` failed     at getNotFoundError (E:\my files\Infinity
        Room\App\gym\node_modules\which\which.js:13:12)
        gyp verb `which` failed     at F (E:\my files\Infinity
        Room\App\gym\node_modules\which\which.js:68:19)
        gyp verb `which` failed     at E (E:\my files\Infinity
        Room\App\gym\node_modules\which\which.js:80:29)
        gyp verb `which` failed     at E:\my files\Infinity
        Room\App\gym\node_modules\which\which.js:89:16
        gyp verb `which` failed     at E:\my files\Infinity
        Room\App\gym\node_modules\isexe\index.js:42:5
        gyp verb `which` failed     at E:\my files\Infinity
        Room\App\gym\node_modules\isexe\windows.js:36:5
        gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:166:21)
        gyp verb `which` failed   stack: 'Error: not found: python2\n    at
        getNotFoundError (E:\\my files\\Infinity
        Room\\App\\gym\\node_modules\\which\\which.js:13:12)\n    at F (E:\\my
        files\\Infinity Room\\App\\gym\\node_modules\\which\\which.js:68:19)\n    at E
        (E:\\my files\\Infinity Room\\App\\gym\\node_modules\\which\\which.js:80:29)\n
           at E:\\my files\\Infinity
        Room\\App\\gym\\node_modules\\which\\which.js:89:16\n    at E:\\my
        files\\Infinity Room\\App\\gym\\node_modules\\isexe\\index.js:42:5\n    at
        E:\\my files\\Infinity Room\\App\\gym\\node_modules\\isexe\\windows.js:36:5\n
          at FSReqWrap.oncomplete (fs.js:166:21)',
        gyp verb `which` failed   code: 'ENOENT' }
        gyp verb check python checking for Python executable "python" in the PATH
        gyp verb `which` failed Error: not found: python
        gyp verb `which` failed     at getNotFoundError (E:\my files\Infinity
        Room\App\gym\node_modules\which\which.js:13:12)
        gyp verb `which` failed     at F (E:\my files\Infinity
        Room\App\gym\node_modules\which\which.js:68:19)
        gyp verb `which` failed     at E (E:\my files\Infinity
        Room\App\gym\node_modules\which\which.js:80:29)
        gyp verb `which` failed     at E:\my files\Infinity
        Room\App\gym\node_modules\which\which.js:89:16
        gyp verb `which` failed     at E:\my files\Infinity
        Room\App\gym\node_modules\isexe\index.js:42:5
        gyp verb `which` failed     at E:\my files\Infinity
        Room\App\gym\node_modules\isexe\windows.js:36:5
        gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:166:21)
        gyp verb `which` failed  python { Error: not found: python
        gyp verb `which` failed     at getNotFoundError (E:\my files\Infinity
        Room\App\gym\node_modules\which\which.js:13:12)
        gyp verb `which` failed     at F (E:\my files\Infinity
        Room\App\gym\node_modules\which\which.js:68:19)
        gyp verb `which` failed     at E (E:\my files\Infinity
        Room\App\gym\node_modules\which\which.js:80:29)
        gyp verb `which` failed     at E:\my files\Infinity
        Room\App\gym\node_modules\which\which.js:89:16
        gyp verb `which` failed     at E:\my files\Infinity
        Room\App\gym\node_modules\isexe\index.js:42:5
        gyp verb `which` failed     at E:\my files\Infinity
        Room\App\gym\node_modules\isexe\windows.js:36:5
        gyp verb `which` failed     at FSReqWrap.oncomplete (fs.js:166:21)
        gyp verb `which` failed   stack: 'Error: not found: python\n    at
        getNotFoundError (E:\\my files\\Infinity
        Room\\App\\gym\\node_modules\\which\\which.js:13:12)\n    at F (E:\\my
        files\\Infinity Room\\App\\gym\\node_modules\\which\\which.js:68:19)\n    at E
        (E:\\my files\\Infinity Room\\App\\gym\\node_modules\\which\\which.js:80:29)\n
           at E:\\my files\\Infinity
        Room\\App\\gym\\node_modules\\which\\which.js:89:16\n    at E:\\my
        files\\Infinity Room\\App\\gym\\node_modules\\isexe\\index.js:42:5\n    at
        E:\\my files\\Infinity Room\\App\\gym\\node_modules\\isexe\\windows.js:36:5\n
          at FSReqWrap.oncomplete (fs.js:166:21)',
        gyp verb `which` failed   code: 'ENOENT' }
        gyp verb could not find "python". checking python launcher
        gyp verb could not find "python". guessing location
        gyp verb ensuring that file exists: C:\Python27\python.exe
        gyp ERR! configure error
        gyp ERR! stack Error: Can't find Python executable "python", you can set the
        PYTHON env variable.
        gyp ERR! stack     at PythonFinder.failNoPython (E:\my files\Infinity
        Room\App\gym\node_modules\node-gyp\lib\configure.js:483:19)
        gyp ERR! stack     at PythonFinder.<anonymous> (E:\my files\Infinity
        Room\App\gym\node_modules\node-gyp\lib\configure.js:508:16)
        gyp ERR! stack     at E:\my files\Infinity
        Room\App\gym\node_modules\graceful-fs\polyfills.js:284:29
        gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:166:21)
        gyp ERR! System Windows_NT 10.0.10240
        gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "E:\\my files\\Infinity
        Room\\App\\gym\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
        "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags="
        "--libsass_library="
        gyp ERR! cwd E:\my files\Infinity Room\App\gym\node_modules\node-sass
        gyp ERR! node -v v9.2.0
        gyp ERR! node-gyp -v v3.6.2
        gyp ERR! not ok
        Build failed with error code: 1
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3
        (node_modules\fsevents):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for
        fsevents@1.1.3: wanted {"os":"darwin","arch":"any"} (current:
        {"os":"win32","arch":"x64"})

        npm ERR! code ELIFECYCLE
        npm ERR! errno 1
        npm ERR! node-sass@4.5.3 postinstall: `node scripts/build.js`
        npm ERR! Exit status 1
        npm ERR!
        npm ERR! Failed at the node-sass@4.5.3 postinstall 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!
        C:\Users\Elkawa\AppData\Roaming\npm-cache\_logs\2017-11-23T02_22_30_273Z-debug.log



E:\my files\Infinity Room\App>

--------------------------------
how i can solve this problem ???

Posts: 2

Participants: 2

Read full topic

Runtime Error of meteor/accounts-base

$
0
0

@Ayesha wrote:

After adding

function requestPhoneVerification(phoneNumber: string, callback?: Function): void;
function verifyPhone(phoneNumber: string, code: string, callback?: Function): void;
in meteor.d.ts runtime error of “meteor/accounts-base” occur

Error: Cannot find module "meteor/accounts-base"
at webpackMissingModule (http://localhost:8100/build/main.js:548:87)
at Object.214 (http://localhost:8100/build/main.js:548:184)
at webpack_require (http://localhost:8100/build/vendor.js:55:30)
at Object.151 (http://localhost:8100/build/main.js:65:15)
at webpack_require (http://localhost:8100/build/vendor.js:55:30)
at Object.685 (http://localhost:8100/build/main.js:1121:17)
at webpack_require (http://localhost:8100/build/vendor.js:55:30)
at Object.359 (http://localhost:8100/build/main.js:938:23)
at webpack_require (http://localhost:8100/build/vendor.js:55:30)
at Object.354 (http://localhost:8100/build/main.js:917:20)

Posts: 1

Participants: 1

Read full topic

Icon in toast

Grant camera permission

$
0
0

@wthijmen wrote:

Hi all,

Im running my app but cordova plugins like Camera, Gallery are not requesting permissions.
My ionic info:

cli packages: (/home/thijmen/Desktop/abk/node_modules)

    @ionic/cli-utils  : 1.19.0
    ionic (Ionic CLI) : 3.19.0

global packages:

    cordova (Cordova CLI) : 7.1.0

local packages:

    @ionic/app-scripts : 3.0.0
    Cordova Platforms  : android 6.3.0 ios 4.5.2
    Ionic Framework    : ionic-angular 3.3.0

System:

    Node : v6.11.4
    npm  : 5.5.1
    OS   : Linux 4.10

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro

Hope some one know a fix for enabling the camera and gallery.

Thanks in advance

Posts: 1

Participants: 1

Read full topic

Viewing all 49416 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>