Try to search your question here, if you can't find : Ask Any Question Now ?

Error: Failed to transpile program ionic 3 on ionic build android

HomeCategory: stackoverflowError: Failed to transpile program ionic 3 on ionic build android
Avatarjulie asked 3 months ago

Error: Failed to transpile program

import { InjectionToken } from "@angular/core";

export let APP_CONFIG = new InjectionToken<AppConfig>("app.config");

export interface AppConfig {
	appName: string;
	apiBase: string;
	perPage: string;
	consumerKey: string;
	consumerSecret: string;
	adminUsername: string;
	adminPassword: string;
	paypalSandbox: string;
	paypalProduction: string;
	payuSalt: string;
	payuKey: string;
	firebase: string;
	
}

export const BaseAppConfig: AppConfig = {
	appName: "SGP",
	apiBase: "https://xxxxxxxxxxxxxx.com/wp-json",
	perPage: "5",
	consumerKey: "ck_8a14f35c3d91b78043xxxxxxxxxxxxx",
	consumerSecret: "cs_87f0ae135fc7a84xxxxxxxxxxxxx",
	adminUsername: "",
	adminPassword: "",
	paypalSandbox: "",
	paypalProduction: "",
	payuSalt: "4GOk7xxxxxx",
	payuKey: "5OSjxxxxxxxx",
	firebase:{
	webApplicationId:"383333333333-afo1mgifve1bcqjbs7uv7eh8uot533q7.apps.googleusercontent.com",	
	apiKey: "AIzaSyCjbtljyGWvLg_A3xe99qxxxxxxxxxx",
    authDomain: "sxxxxxxxxxxxxx.firebaseapp.com",
    databaseURL: "https://xxxxxxxxxx.firebaseio.com",
    projectId: "sxxxxxxxxxxxx",
    storageBucket: "xxxxxxxxxxx.appspot.com",
    messagingSenderId: "382xxxxxxxxxx"	
	
	},
};

this is the code, new to ionic program kindly help me to build android apk
getting error on command

 `command`ionic cordova run android

Please check whether firebase : string is correct type or not

1 Answers
Best Answer
AvatarMatthias answered 3 months ago
Your Answer

0 + 19 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com