Closed amisra24x7 closed 6 years ago
Starter Type: ionic3 Starter Template: aws
Description: Ionic aws starter project after following each step of the way does not start.
My ionic info:
ionic info
ionic info cli packages: (C:\Users\Aditya Misra\AppData\Roaming\npm\node_modules) @ionic/cli-utils : 1.19.2 ionic (Ionic CLI) : 3.20.0 global packages: cordova (Cordova CLI) : 8.0.0 local packages: @ionic/app-scripts : 3.1.10 Cordova Platforms : android 7.0.0 Ionic Framework : ionic-angular 3.9.2 System: Android SDK Tools : 26.1.1 Node : v9.9.0 npm : 6.1.0 OS : Windows 10 Environment Variables: ANDROID_HOME : C:\androidsdk Misc: backend : pro
Other Information:
ionic serve Starting app-scripts server: --address 0.0.0.0 --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser - Ctrl+C to cancel [14:27:38] watch started ... [14:27:38] build dev started ...
and it ends right there. No browser is opened, nor can I see the app post publishing.
I figured the app wasn't getting built. So I ran npm run build and got the following output.
npm run build
npm run build > myApp@0.0.1 build C:\Users\Aditya Misra\Documents\aws-test\myApp > ionic-app-scripts build Terminate batch job (Y/N)? ^C C:\Users\Aditya Misra\Documents\aws-test\myApp>ionic build Running app-scripts build: [14:37:57] build dev started ... [14:37:57] clean started ... [14:37:57] clean finished in 4 ms [14:37:57] copy started ... [14:37:58] deeplinks started ... [14:37:58] deeplinks finished in 107 ms [14:37:58] transpile started ... [14:38:13] typescript: ...test/myApp/node_modules/aws-amplify/lib/PubSub/Providers/MqttOverWSProvider.d.ts, line: 1 Cannot find type definition file for 'paho-mqtt'. L1: import { Client } from 'paho-mqtt'; L2: import * as Observable from 'zen-observable'; [14:38:13] typescript: ...test/myApp/node_modules/aws-amplify/lib/PubSub/Providers/MqttOverWSProvider.d.ts, line: 2 Cannot find type definition file for 'zen-observable'. L1: import { Client } from 'paho-mqtt'; L2: import * as Observable from 'zen-observable'; L3: import { AbstractPubSubProvider } from './PubSubProvider'; [14:38:13] typescript: ...aws-test/myApp/node_modules/aws-amplify/lib/PubSub/Providers/PubSubProvider.d.ts, line: 1 Cannot find type definition file for 'zen-observable'. L1: import * as Observable from 'zen-observable'; L2: import { PubSubProvider, ProvidertOptions } from '../types'; [14:38:13] typescript: ...ocuments/DevKarya/aws-test/myApp/node_modules/aws-amplify/lib/PubSub/PubSub.d.ts, line: 1 Cannot find type definition file for 'zen-observable'. L1: import '../Common/Polyfills'; L2: import * as Observable from 'zen-observable'; [14:38:13] typescript: .../DevKarya/aws-test/myApp/node_modules/aws-amplify/lib/PubSub/types/Provider.d.ts, line: 1 Cannot find type definition file for 'zen-observable'. L1: import * as Observable from 'zen-observable'; L2: import { ProvidertOptions } from './PubSub'; [14:38:13] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/acm.d.ts, line: 108 Cannot find name 'Buffer'. L107: export type CertificateBody = string; L108: export type CertificateBodyBlob = Buffer|Uint8Array|Blob|string; L109: export type CertificateChain = string; [14:38:13] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/acm.d.ts, line: 110 Cannot find name 'Buffer'. L109: export type CertificateChain = string; L110: export type CertificateChainBlob = Buffer|Uint8Array|Blob|string; L111: export interface CertificateDetail { [14:38:13] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/acm.d.ts, line: 401 Cannot find name 'Buffer'. L400: export type NextToken = string; L401: export type PrivateKeyBlob = Buffer|Uint8Array|Blob|string; L402: export type RecordType = "CNAME"|string; [14:38:13] typescript: ...a/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/apigateway.d.ts, line: 1146 Cannot find name 'Buffer'. L1146: export type _Blob = Buffer|Uint8Array|Blob|string; L1147: export type Boolean = boolean; [14:38:13] typescript: ...isra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/appsync.d.ts, line: 248 Cannot find name 'Buffer'. L247: export type AuthenticationType = "API_KEY"|"AWS_IAM"|"AMAZON_COGNITO_USER_POOLS"|string; L248: export type _Blob = Buffer|Uint8Array|Blob|string; L249: export type Boolean = boolean; [14:38:13] typescript: ...cuments/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/clouddirectory.d.ts, line: 1469 Cannot find name 'Buffer'. L1469: export type BinaryAttributeValue = Buffer|Uint8Array|Blob|string; L1470: export type Bool = boolean; [14:38:13] typescript: ...ents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/cloudsearchdomain.d.ts, line: 7 Cannot find module 'stream'. L6: import {ConfigBase as Config} from '../lib/config'; L7: import {Readable} from 'stream'; L8: interface Blob {} [14:38:13] typescript: ...ents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/cloudsearchdomain.d.ts, line: 42 Cannot find name 'Buffer'. L41: export type Adds = number; L42: export type _Blob = Buffer|Uint8Array|Blob|string|Readable; L43: export interface Bucket { [14:38:13] typescript: ...a/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/cloudtrail.d.ts, line: 141 Cannot find name 'Buffer'. L140: export type Boolean = boolean; L141: export type ByteBuffer = Buffer|Uint8Array|Blob|string; L142: export interface CreateTrailRequest { [14:38:13] typescript: ...a/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/codecommit.d.ts, line: 1539 Cannot find name 'Buffer'. L1539: export type blob = Buffer|Uint8Array|Blob|string; [14:38:13] typescript: .../aws-test/myApp/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts, line: 2581 Cannot find name 'Buffer'. L2580: export type IdpIdentifiersListType = IdpIdentifierType[]; L2581: export type ImageFileType = Buffer|Uint8Array|Blob|string; L2582: export type ImageUrlType = string; [14:38:13] typescript: ...ocuments/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/directconnect.d.ts, line: 992 Cannot find name 'Buffer'. L992: export type LoaContent = Buffer|Uint8Array|Blob|string; L993: export type LoaContentType = "application/pdf"|string; [14:38:14] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/dms.d.ts, line: 448 Cannot find name 'Buffer'. L447: export type CertificateList = Certificate[]; L448: export type CertificateWallet = Buffer|Uint8Array|Blob|string; L449: export type CompressionTypeValue = "none"|"gzip"|string; [14:38:14] typescript: ...sra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/dynamodb.d.ts, line: 466 Cannot find name 'Buffer'. L465: export type BatchWriteItemRequestMap = {[key: string]: WriteRequests}; L466: export type BinaryAttributeValue = Buffer|Uint8Array|Blob|string; L467: export type BinarySetAttributeValue = BinaryAttributeValue[]; [14:38:14] typescript: ...uments/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/dynamodbstreams.d.ts, line: 92 Cannot find name 'Buffer'. L92: export type BinaryAttributeValue = Buffer|Uint8Array|Blob|string; L93: export type BinarySetAttributeValue = BinaryAttributeValue[]; [14:38:14] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/ec2.d.ts, line: 3026 Cannot find name 'Buffer'. L3025: export type BillingProductList = String[]; L3026: export type _Blob = Buffer|Uint8Array|Blob|string; L3027: export interface BlobAttributeValue { [14:38:14] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/ecr.d.ts, line: 767 Cannot find name 'Buffer'. L766: export type LayerList = Layer[]; L767: export type LayerPartBlob = Buffer|Uint8Array|Blob|string; L768: export type LayerSizeInBytes = number; [14:38:14] typescript: ...sra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/firehose.d.ts, line: 156 Cannot find name 'Buffer'. L156: export type Data = Buffer|Uint8Array|Blob|string; L157: export type DataTableColumns = string; [14:38:14] typescript: ...isra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/glacier.d.ts, line: 7 Cannot find module 'stream'. L6: import {ConfigBase as Config} from '../lib/config'; L7: import {Readable} from 'stream'; L8: interface Blob {} [14:38:14] typescript: ...isra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/glacier.d.ts, line: 1313 Cannot find name 'Buffer'. L1312: export type StorageClass = "STANDARD"|"REDUCED_REDUNDANCY"|"STANDARD_IA"|string; L1313: export type Stream = Buffer|Uint8Array|Blob|string|Readable; L1314: export type TagKey = string; [14:38:14] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/iam.d.ts, line: 1112 Cannot find name 'Buffer'. L1112: export type BootstrapDatum = Buffer|Uint8Array|Blob|string; L1113: export interface ChangePasswordRequest { [14:38:14] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/iam.d.ts, line: 3106 Cannot find name 'Buffer'. L3106: export type ReportContentType = Buffer|Uint8Array|Blob|string; L3107: export type ReportFormatType = "text/csv"|string; [14:38:14] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/iot.d.ts, line: 4325 Cannot find name 'Buffer'. L4324: disableAllLogs?: DisableAllLogs; L4326: export type Signature = Buffer|Uint8Array|Blob|string; [14:38:14] typescript: ...isra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/iotdata.d.ts, line: 73 Cannot find name 'Buffer'. L73: export type JsonDocument = Buffer|Uint8Array|Blob|string; L74: export type Payload = Buffer|Uint8Array|Blob|string; [14:38:14] typescript: ...isra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/iotdata.d.ts, line: 74 Cannot find name 'Buffer'. L73: export type JsonDocument = Buffer|Uint8Array|Blob|string; L74: export type Payload = Buffer|Uint8Array|Blob|string; L75: export interface PublishRequest { [14:38:14] typescript: ...isra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/kinesis.d.ts, line: 237 Cannot find name 'Buffer'. L237: export type Data = Buffer|Uint8Array|Blob|string; L238: export interface DecreaseStreamRetentionPeriodInput { [14:38:14] typescript: ...Karya/aws-test/myApp/node_modules/aws-sdk/clients/kinesisvideoarchivedmedia.d.ts, line: 7 Cannot find module 'stream'. L6: import {ConfigBase as Config} from '../lib/config'; L7: import {Readable} from 'stream'; L8: interface Blob {} [14:38:14] typescript: ...Karya/aws-test/myApp/node_modules/aws-sdk/clients/kinesisvideoarchivedmedia.d.ts, line: 121 Cannot find name 'Buffer'. L120: export type PageLimit = number; L121: export type Payload = Buffer|Uint8Array|Blob|string|Readable; L122: export type StreamName = string; [14:38:14] typescript: ...ents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/kinesisvideomedia.d.ts, line: 7 Cannot find module 'stream'. L6: import {ConfigBase as Config} from '../lib/config'; L7: import {Readable} from 'stream'; L8: interface Blob {} [14:38:14] typescript: ...ents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/kinesisvideomedia.d.ts, line: 53 Cannot find name 'Buffer'. L53: export type Payload = Buffer|Uint8Array|Blob|string|Readable; L54: export type ResourceARN = string; [14:38:14] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/kms.d.ts, line: 328 Cannot find name 'Buffer'. L328: export type CiphertextType = Buffer|Uint8Array|Blob|string; L329: export interface CreateAliasRequest { [14:38:14] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/kms.d.ts, line: 962 Cannot find name 'Buffer'. L961: export type PendingWindowInDaysType = number; L962: export type PlaintextType = Buffer|Uint8Array|Blob|string; L963: export type PolicyNameList = PolicyNameType[]; [14:38:14] typescript: ...Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/lambda.d.ts, line: 7 Cannot find module 'stream'. L6: import {ConfigBase as Config} from '../lib/config'; L7: import {Readable} from 'stream'; L8: interface Blob {} [14:38:14] typescript: ...Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/lambda.d.ts, line: 372 Cannot find name 'Buffer'. L371: export type BatchSize = number; L372: export type _Blob = Buffer|Uint8Array|Blob|string; L373: export type BlobStream = Buffer|Uint8Array|Blob|string|Readable; [14:38:14] typescript: ...Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/lambda.d.ts, line: 373 Cannot find name 'Buffer'. L372: export type _Blob = Buffer|Uint8Array|Blob|string; L373: export type BlobStream = Buffer|Uint8Array|Blob|string|Readable; L374: export type Boolean = boolean; [14:38:14] typescript: ...evKarya/aws-test/myApp/node_modules/aws-sdk/clients/lexmodelbuildingservice.d.ts, line: 306 Cannot find name 'Buffer'. L305: export type AliasNameOrListAll = string; L306: export type _Blob = Buffer|Uint8Array|Blob|string; L307: export type Boolean = boolean; [14:38:14] typescript: ...a/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/lexruntime.d.ts, line: 7 Cannot find module 'stream'. L6: import {ConfigBase as Config} from '../lib/config'; L7: import {Readable} from 'stream'; L8: interface Blob {} [14:38:14] typescript: ...a/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/lexruntime.d.ts, line: 35 Cannot find name 'Buffer'. L34: export type AttributesString = string; L35: export type BlobStream = Buffer|Uint8Array|Blob|string|Readable; L36: export type BotAlias = string; [14:38:14] typescript: ...cuments/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/mediastoredata.d.ts, line: 7 Cannot find module 'stream'. L6: import {ConfigBase as Config} from '../lib/config'; L7: import {Readable} from 'stream'; L8: interface Blob {} [14:38:14] typescript: ...cuments/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/mediastoredata.d.ts, line: 199 Cannot find name 'Buffer'. L198: export type PathNaming = string; L199: export type PayloadBlob = Buffer|Uint8Array|Blob|string|Readable; L200: export interface PutObjectRequest { [14:38:14] typescript: ...Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/mobile.d.ts, line: 106 Cannot find name 'Buffer'. L105: export type ConsoleUrl = string; L106: export type Contents = Buffer|Uint8Array|Blob|string; L107: export interface CreateProjectRequest { [14:38:14] typescript: ... Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/polly.d.ts, line: 8 Cannot find module 'stream'. L7: import {Presigner as presigner} from '../lib/polly/presigner'; L8: import {Readable} from 'stream'; L9: interface Blob {} [14:38:14] typescript: ... Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/polly.d.ts, line: 70 Cannot find name 'Buffer'. L69: export type Alphabet = string; L70: export type AudioStream = Buffer|Uint8Array|Blob|string|Readable; L71: export type ContentType = string; [14:38:14] typescript: .../Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/rekognition.d.ts, line: 1135 Cannot find name 'Buffer'. L1135: export type ImageBlob = Buffer|Uint8Array|Blob|string; L1136: export type ImageId = string; [14:38:14] typescript: ...tya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/s3.d.ts, line: 10 Cannot find module 'stream'. L9: import {PresignedPost as presigned_post} from '../lib/s3/presigned_post'; L10: import {Readable} from 'stream'; L11: interface Blob {} [14:38:14] typescript: ...tya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/s3.d.ts, line: 777 Cannot find name 'Buffer'. L776: export type AnalyticsS3ExportFileFormat = "CSV"|string; L777: export type Body = Buffer|Uint8Array|Blob|string|Readable; L778: export interface Bucket { [14:38:14] typescript: ...tya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/s3.d.ts, line: 1131 Cannot find name 'Buffer'. L1130: export type CopySourceSSECustomerAlgorithm = string; L1131: export type CopySourceSSECustomerKey = Buffer|Uint8Array|Blob|string; L1132: export type CopySourceSSECustomerKeyMD5 = string; [14:38:14] typescript: ...tya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/s3.d.ts, line: 3473 Cannot find name 'Buffer'. L3472: export type SSECustomerAlgorithm = string; L3473: export type SSECustomerKey = Buffer|Uint8Array|Blob|string; L3474: export type SSECustomerKeyMD5 = string; [14:38:14] typescript: ...ments/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/sagemakerruntime.d.ts, line: 24 Cannot find name 'Buffer'. L23: declare namespace SageMakerRuntime { L24: export type BodyBlob = Buffer|Uint8Array|Blob|string; L25: export type EndpointName = string; [14:38:14] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/ses.d.ts, line: 1513 Cannot find name 'Buffer'. L1513: Data: RawMessageData; [14:38:14] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/sns.d.ts, line: 275 Cannot find name 'Buffer'. L275: export type Binary = Buffer|Uint8Array|Blob|string; L276: export interface CheckIfPhoneNumberIsOptedOutInput { [14:38:14] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/sqs.d.ts, line: 216 Cannot find name 'Buffer'. L215: export type BatchResultErrorEntryList = BatchResultErrorEntry[]; L216: export type Binary = Buffer|Uint8Array|Blob|string; L217: export type BinaryList = Binary[]; [14:38:14] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/ssm.d.ts, line: 4580 Cannot find name 'Buffer'. L4580: export type MaintenanceWindowLambdaPayload = Buffer|Uint8Array|Blob|string; L4581: export type MaintenanceWindowLambdaQualifier = string; [14:38:14] typescript: ...isra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/support.d.ts, line: 336 Cannot find name 'Buffer'. L336: export type Data = Buffer|Uint8Array|Blob|string; L337: export interface DescribeAttachmentRequest { [14:38:14] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/waf.d.ts, line: 604 Cannot find name 'Buffer'. L603: export type ByteMatchSetUpdates = ByteMatchSetUpdate[]; L604: export type ByteMatchTargetString = Buffer|Uint8Array|Blob|string; L605: export interface ByteMatchTuple { [14:38:14] typescript: .../Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/wafregional.d.ts, line: 648 Cannot find name 'Buffer'. L647: export type ByteMatchSetUpdates = ByteMatchSetUpdate[]; L648: export type ByteMatchTargetString = Buffer|Uint8Array|Blob|string; L649: export interface ByteMatchTuple { [14:38:14] typescript: ...tya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/config.d.ts, line: 1 Cannot find module 'http'. L1: import {Agent as httpAgent} from 'http'; L2: import {Agent as httpsAgent} from 'https'; [14:38:14] typescript: ...tya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/config.d.ts, line: 2 Cannot find module 'https'. L1: import {Agent as httpAgent} from 'http'; L2: import {Agent as httpsAgent} from 'https'; L3: import {AWSError} from './error'; [14:38:14] typescript: ...s/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts, line: 2 Cannot find module 'stream'. L1: import DynamoDB = require('../../clients/dynamodb'); L2: import * as stream from 'stream'; L3: import {Request} from '../request'; [14:38:14] typescript: ...s/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts, line: 93 Cannot find name 'Buffer'. L93: export type binaryType = Buffer|File|Blob|ArrayBuffer|DataView|Int8Array|Uint8Array|Uint8ClampedArray|In [14:38:14] typescript: ...s/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts, line: 274 Cannot find name 'Buffer'. L273: export type BatchWriteItemRequestMap = {[key: string]: WriteRequests}; L274: export type BinaryAttributeValue = Buffer|Uint8Array|Blob|string; L275: export type BinarySetAttributeValue = BinaryAttributeValue[]; [14:38:14] typescript: ...ra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/http_response.d.ts, line: 1 Cannot find module 'stream'. L1: import * as stream from 'stream'; L2: interface XMLHttpRequest {} [14:38:14] typescript: ...ra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/http_response.d.ts, line: 14 Cannot find name 'Buffer'. L14: body: string|Buffer|Uint8Array; [14:38:14] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/request.d.ts, line: 1 Cannot find module 'stream'. L1: import * as stream from 'stream'; L2: import {Service} from './service'; [14:38:14] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/request.d.ts, line: 132 Cannot find name 'Buffer'. L132: on(event: "httpData", listener: (chunk: Buffer|Uint8Array, response: Response<D, E>) => void): Request<D, E> [14:38:14] typescript: ...Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/services/glacier.d.ts, line: 10 Cannot find name 'Buffer'. L10: computeChecksums(data: Buffer|string): GlacierComputeChecksumsOutput; [14:38:14] typescript: ...sers/Aditya Misra/Documents/DevKarya/aws-test/myApp/src/pages/account/account.ts, line: 44 Type 'Object' is not assignable to type 'string'. L43: Storage.get(this.userId + '/avatar') L44: .then(url => this.avatarPhoto = url); [14:38:14] typescript: ...Misra/Documents/DevKarya/aws-test/myApp/src/pages/confirmSignIn/confirmSignIn.ts, line: 25 Expected 3 arguments, but got 2. L24: confirm() { L25: Auth.confirmSignIn(this.user, this.code) L26: .then(() => this.navCtrl.push(TabsPage)) Error: Failed to transpile program at new BuildError (C:\Users\Aditya Misra\Documents\aws-test\myApp\node_modules\@ionic\app-scripts\dist\util\errors.js:16:28) at C:\Users\Aditya Misra\Documents\aws-test\myApp\node_modules\@ionic\app-scripts\dist\transpile.js:159:20 at new Promise (<anonymous>) at transpileWorker (C:\Users\Aditya Misra\Documents\aws-test\myApp\node_modules\@ionic\app-scripts\dist\transpile.js:107:12) at Object.transpile (C:\Users\Aditya Misra\Documents\aws-test\myApp\node_modules\@ionic\app-scripts\dist\transpile.js:64:12) at C:\Users\Aditya Misra\Documents\aws-test\myApp\node_modules\@ionic\app-scripts\dist\build.js:109:82 at <anonymous> [14:38:14] copy finished in 16.49 s C:\Users\Aditya Misra\Documents\aws-test\myApp>npm run build C:\Users\Aditya Misra\Documents\aws-test\myApp>npm run build > myApp@0.0.1 build C:\Users\Aditya Misra\Documents\aws-test\myApp > ionic-app-scripts build [15:36:56] ionic-app-scripts 3.1.10 [15:36:56] build dev started ... [15:36:56] clean started ... [15:36:56] clean finished in 4 ms [15:36:56] copy started ... [15:36:57] deeplinks started ... [15:36:57] deeplinks finished in 64 ms [15:36:57] transpile started ... [15:37:08] typescript: ...test/myApp/node_modules/aws-amplify/lib/PubSub/Providers/MqttOverWSProvider.d.ts, line: 1 Cannot find type definition file for 'paho-mqtt'. L1: import { Client } from 'paho-mqtt'; L2: import * as Observable from 'zen-observable'; [15:37:08] typescript: ...test/myApp/node_modules/aws-amplify/lib/PubSub/Providers/MqttOverWSProvider.d.ts, line: 2 Cannot find type definition file for 'zen-observable'. L1: import { Client } from 'paho-mqtt'; L2: import * as Observable from 'zen-observable'; L3: import { AbstractPubSubProvider } from './PubSubProvider'; [15:37:08] typescript: ...aws-test/myApp/node_modules/aws-amplify/lib/PubSub/Providers/PubSubProvider.d.ts, line: 1 Cannot find type definition file for 'zen-observable'. L1: import * as Observable from 'zen-observable'; L2: import { PubSubProvider, ProvidertOptions } from '../types'; [15:37:08] typescript: ...ocuments/DevKarya/aws-test/myApp/node_modules/aws-amplify/lib/PubSub/PubSub.d.ts, line: 1 Cannot find type definition file for 'zen-observable'. L1: import '../Common/Polyfills'; L2: import * as Observable from 'zen-observable'; [15:37:08] typescript: .../DevKarya/aws-test/myApp/node_modules/aws-amplify/lib/PubSub/types/Provider.d.ts, line: 1 Cannot find type definition file for 'zen-observable'. L1: import * as Observable from 'zen-observable'; L2: import { ProvidertOptions } from './PubSub'; [15:37:08] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/acm.d.ts, line: 108 Cannot find name 'Buffer'. L107: export type CertificateBody = string; L108: export type CertificateBodyBlob = Buffer|Uint8Array|Blob|string; L109: export type CertificateChain = string; [15:37:08] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/acm.d.ts, line: 110 Cannot find name 'Buffer'. L109: export type CertificateChain = string; L110: export type CertificateChainBlob = Buffer|Uint8Array|Blob|string; L111: export interface CertificateDetail { [15:37:08] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/acm.d.ts, line: 401 Cannot find name 'Buffer'. L400: export type NextToken = string; L401: export type PrivateKeyBlob = Buffer|Uint8Array|Blob|string; L402: export type RecordType = "CNAME"|string; [15:37:08] typescript: ...a/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/apigateway.d.ts, line: 1146 Cannot find name 'Buffer'. L1146: export type _Blob = Buffer|Uint8Array|Blob|string; L1147: export type Boolean = boolean; [15:37:08] typescript: ...isra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/appsync.d.ts, line: 248 Cannot find name 'Buffer'. L247: export type AuthenticationType = "API_KEY"|"AWS_IAM"|"AMAZON_COGNITO_USER_POOLS"|string; L248: export type _Blob = Buffer|Uint8Array|Blob|string; L249: export type Boolean = boolean; [15:37:08] typescript: ...cuments/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/clouddirectory.d.ts, line: 1469 Cannot find name 'Buffer'. L1469: export type BinaryAttributeValue = Buffer|Uint8Array|Blob|string; L1470: export type Bool = boolean; [15:37:08] typescript: ...ents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/cloudsearchdomain.d.ts, line: 7 Cannot find module 'stream'. L6: import {ConfigBase as Config} from '../lib/config'; L7: import {Readable} from 'stream'; L8: interface Blob {} [15:37:08] typescript: ...ents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/cloudsearchdomain.d.ts, line: 42 Cannot find name 'Buffer'. L41: export type Adds = number; L42: export type _Blob = Buffer|Uint8Array|Blob|string|Readable; L43: export interface Bucket { [15:37:08] typescript: ...a/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/cloudtrail.d.ts, line: 141 Cannot find name 'Buffer'. L140: export type Boolean = boolean; L141: export type ByteBuffer = Buffer|Uint8Array|Blob|string; L142: export interface CreateTrailRequest { [15:37:08] typescript: ...a/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/codecommit.d.ts, line: 1539 Cannot find name 'Buffer'. L1539: export type blob = Buffer|Uint8Array|Blob|string; [15:37:08] typescript: .../aws-test/myApp/node_modules/aws-sdk/clients/cognitoidentityserviceprovider.d.ts, line: 2581 Cannot find name 'Buffer'. L2580: export type IdpIdentifiersListType = IdpIdentifierType[]; L2581: export type ImageFileType = Buffer|Uint8Array|Blob|string; L2582: export type ImageUrlType = string; [15:37:08] typescript: ...ocuments/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/directconnect.d.ts, line: 992 Cannot find name 'Buffer'. L992: export type LoaContent = Buffer|Uint8Array|Blob|string; L993: export type LoaContentType = "application/pdf"|string; [15:37:08] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/dms.d.ts, line: 448 Cannot find name 'Buffer'. L447: export type CertificateList = Certificate[]; L448: export type CertificateWallet = Buffer|Uint8Array|Blob|string; L449: export type CompressionTypeValue = "none"|"gzip"|string; [15:37:08] typescript: ...sra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/dynamodb.d.ts, line: 466 Cannot find name 'Buffer'. L465: export type BatchWriteItemRequestMap = {[key: string]: WriteRequests}; L466: export type BinaryAttributeValue = Buffer|Uint8Array|Blob|string; L467: export type BinarySetAttributeValue = BinaryAttributeValue[]; [15:37:08] typescript: ...uments/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/dynamodbstreams.d.ts, line: 92 Cannot find name 'Buffer'. L92: export type BinaryAttributeValue = Buffer|Uint8Array|Blob|string; L93: export type BinarySetAttributeValue = BinaryAttributeValue[]; [15:37:08] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/ec2.d.ts, line: 3026 Cannot find name 'Buffer'. L3025: export type BillingProductList = String[]; L3026: export type _Blob = Buffer|Uint8Array|Blob|string; L3027: export interface BlobAttributeValue { [15:37:08] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/ecr.d.ts, line: 767 Cannot find name 'Buffer'. L766: export type LayerList = Layer[]; L767: export type LayerPartBlob = Buffer|Uint8Array|Blob|string; L768: export type LayerSizeInBytes = number; [15:37:08] typescript: ...sra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/firehose.d.ts, line: 156 Cannot find name 'Buffer'. L156: export type Data = Buffer|Uint8Array|Blob|string; L157: export type DataTableColumns = string; [15:37:09] typescript: ...isra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/glacier.d.ts, line: 7 Cannot find module 'stream'. L6: import {ConfigBase as Config} from '../lib/config'; L7: import {Readable} from 'stream'; L8: interface Blob {} [15:37:09] typescript: ...isra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/glacier.d.ts, line: 1313 Cannot find name 'Buffer'. L1312: export type StorageClass = "STANDARD"|"REDUCED_REDUNDANCY"|"STANDARD_IA"|string; L1313: export type Stream = Buffer|Uint8Array|Blob|string|Readable; L1314: export type TagKey = string; [15:37:09] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/iam.d.ts, line: 1112 Cannot find name 'Buffer'. L1112: export type BootstrapDatum = Buffer|Uint8Array|Blob|string; L1113: export interface ChangePasswordRequest { [15:37:09] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/iam.d.ts, line: 3106 Cannot find name 'Buffer'. L3106: export type ReportContentType = Buffer|Uint8Array|Blob|string; L3107: export type ReportFormatType = "text/csv"|string; [15:37:09] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/iot.d.ts, line: 4325 Cannot find name 'Buffer'. L4324: disableAllLogs?: DisableAllLogs; L4326: export type Signature = Buffer|Uint8Array|Blob|string; [15:37:09] typescript: ...isra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/iotdata.d.ts, line: 73 Cannot find name 'Buffer'. L73: export type JsonDocument = Buffer|Uint8Array|Blob|string; L74: export type Payload = Buffer|Uint8Array|Blob|string; [15:37:09] typescript: ...isra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/iotdata.d.ts, line: 74 Cannot find name 'Buffer'. L73: export type JsonDocument = Buffer|Uint8Array|Blob|string; L74: export type Payload = Buffer|Uint8Array|Blob|string; L75: export interface PublishRequest { [15:37:09] typescript: ...isra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/kinesis.d.ts, line: 237 Cannot find name 'Buffer'. L237: export type Data = Buffer|Uint8Array|Blob|string; L238: export interface DecreaseStreamRetentionPeriodInput { [15:37:09] typescript: ...Karya/aws-test/myApp/node_modules/aws-sdk/clients/kinesisvideoarchivedmedia.d.ts, line: 7 Cannot find module 'stream'. L6: import {ConfigBase as Config} from '../lib/config'; L7: import {Readable} from 'stream'; L8: interface Blob {} [15:37:09] typescript: ...Karya/aws-test/myApp/node_modules/aws-sdk/clients/kinesisvideoarchivedmedia.d.ts, line: 121 Cannot find name 'Buffer'. L120: export type PageLimit = number; L121: export type Payload = Buffer|Uint8Array|Blob|string|Readable; L122: export type StreamName = string; [15:37:09] typescript: ...ents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/kinesisvideomedia.d.ts, line: 7 Cannot find module 'stream'. L6: import {ConfigBase as Config} from '../lib/config'; L7: import {Readable} from 'stream'; L8: interface Blob {} [15:37:09] typescript: ...ents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/kinesisvideomedia.d.ts, line: 53 Cannot find name 'Buffer'. L53: export type Payload = Buffer|Uint8Array|Blob|string|Readable; L54: export type ResourceARN = string; [15:37:09] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/kms.d.ts, line: 328 Cannot find name 'Buffer'. L328: export type CiphertextType = Buffer|Uint8Array|Blob|string; L329: export interface CreateAliasRequest { [15:37:09] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/kms.d.ts, line: 962 Cannot find name 'Buffer'. L961: export type PendingWindowInDaysType = number; L962: export type PlaintextType = Buffer|Uint8Array|Blob|string; L963: export type PolicyNameList = PolicyNameType[]; [15:37:09] typescript: ...Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/lambda.d.ts, line: 7 Cannot find module 'stream'. L6: import {ConfigBase as Config} from '../lib/config'; L7: import {Readable} from 'stream'; L8: interface Blob {} [15:37:09] typescript: ...Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/lambda.d.ts, line: 372 Cannot find name 'Buffer'. L371: export type BatchSize = number; L372: export type _Blob = Buffer|Uint8Array|Blob|string; L373: export type BlobStream = Buffer|Uint8Array|Blob|string|Readable; [15:37:09] typescript: ...Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/lambda.d.ts, line: 373 Cannot find name 'Buffer'. L372: export type _Blob = Buffer|Uint8Array|Blob|string; L373: export type BlobStream = Buffer|Uint8Array|Blob|string|Readable; L374: export type Boolean = boolean; [15:37:09] typescript: ...evKarya/aws-test/myApp/node_modules/aws-sdk/clients/lexmodelbuildingservice.d.ts, line: 306 Cannot find name 'Buffer'. L305: export type AliasNameOrListAll = string; L306: export type _Blob = Buffer|Uint8Array|Blob|string; L307: export type Boolean = boolean; [15:37:09] typescript: ...a/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/lexruntime.d.ts, line: 7 Cannot find module 'stream'. L6: import {ConfigBase as Config} from '../lib/config'; L7: import {Readable} from 'stream'; L8: interface Blob {} [15:37:09] typescript: ...a/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/lexruntime.d.ts, line: 35 Cannot find name 'Buffer'. L34: export type AttributesString = string; L35: export type BlobStream = Buffer|Uint8Array|Blob|string|Readable; L36: export type BotAlias = string; [15:37:09] typescript: ...cuments/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/mediastoredata.d.ts, line: 7 Cannot find module 'stream'. L6: import {ConfigBase as Config} from '../lib/config'; L7: import {Readable} from 'stream'; L8: interface Blob {} [15:37:09] typescript: ...cuments/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/mediastoredata.d.ts, line: 199 Cannot find name 'Buffer'. L198: export type PathNaming = string; L199: export type PayloadBlob = Buffer|Uint8Array|Blob|string|Readable; L200: export interface PutObjectRequest { [15:37:09] typescript: ...Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/mobile.d.ts, line: 106 Cannot find name 'Buffer'. L105: export type ConsoleUrl = string; L106: export type Contents = Buffer|Uint8Array|Blob|string; L107: export interface CreateProjectRequest { [15:37:09] typescript: ... Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/polly.d.ts, line: 8 Cannot find module 'stream'. L7: import {Presigner as presigner} from '../lib/polly/presigner'; L8: import {Readable} from 'stream'; L9: interface Blob {} [15:37:09] typescript: ... Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/polly.d.ts, line: 70 Cannot find name 'Buffer'. L69: export type Alphabet = string; L70: export type AudioStream = Buffer|Uint8Array|Blob|string|Readable; L71: export type ContentType = string; [15:37:09] typescript: .../Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/rekognition.d.ts, line: 1135 Cannot find name 'Buffer'. L1135: export type ImageBlob = Buffer|Uint8Array|Blob|string; L1136: export type ImageId = string; [15:37:09] typescript: ...tya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/s3.d.ts, line: 10 Cannot find module 'stream'. L9: import {PresignedPost as presigned_post} from '../lib/s3/presigned_post'; L10: import {Readable} from 'stream'; L11: interface Blob {} [15:37:09] typescript: ...tya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/s3.d.ts, line: 777 Cannot find name 'Buffer'. L776: export type AnalyticsS3ExportFileFormat = "CSV"|string; L777: export type Body = Buffer|Uint8Array|Blob|string|Readable; L778: export interface Bucket { [15:37:09] typescript: ...tya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/s3.d.ts, line: 1131 Cannot find name 'Buffer'. L1130: export type CopySourceSSECustomerAlgorithm = string; L1131: export type CopySourceSSECustomerKey = Buffer|Uint8Array|Blob|string; L1132: export type CopySourceSSECustomerKeyMD5 = string; [15:37:09] typescript: ...tya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/s3.d.ts, line: 3473 Cannot find name 'Buffer'. L3472: export type SSECustomerAlgorithm = string; L3473: export type SSECustomerKey = Buffer|Uint8Array|Blob|string; L3474: export type SSECustomerKeyMD5 = string; [15:37:09] typescript: ...ments/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/sagemakerruntime.d.ts, line: 24 Cannot find name 'Buffer'. L23: declare namespace SageMakerRuntime { L24: export type BodyBlob = Buffer|Uint8Array|Blob|string; L25: export type EndpointName = string; [15:37:09] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/ses.d.ts, line: 1513 Cannot find name 'Buffer'. L1513: Data: RawMessageData; [15:37:09] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/sns.d.ts, line: 275 Cannot find name 'Buffer'. L275: export type Binary = Buffer|Uint8Array|Blob|string; L276: export interface CheckIfPhoneNumberIsOptedOutInput { [15:37:09] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/sqs.d.ts, line: 216 Cannot find name 'Buffer'. L215: export type BatchResultErrorEntryList = BatchResultErrorEntry[]; L216: export type Binary = Buffer|Uint8Array|Blob|string; L217: export type BinaryList = Binary[]; [15:37:09] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/ssm.d.ts, line: 4580 Cannot find name 'Buffer'. L4580: export type MaintenanceWindowLambdaPayload = Buffer|Uint8Array|Blob|string; L4581: export type MaintenanceWindowLambdaQualifier = string; [15:37:09] typescript: ...isra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/support.d.ts, line: 336 Cannot find name 'Buffer'. L336: export type Data = Buffer|Uint8Array|Blob|string; L337: export interface DescribeAttachmentRequest { [15:37:09] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/waf.d.ts, line: 604 Cannot find name 'Buffer'. L603: export type ByteMatchSetUpdates = ByteMatchSetUpdate[]; L604: export type ByteMatchTargetString = Buffer|Uint8Array|Blob|string; L605: export interface ByteMatchTuple { [15:37:09] typescript: .../Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/clients/wafregional.d.ts, line: 648 Cannot find name 'Buffer'. L647: export type ByteMatchSetUpdates = ByteMatchSetUpdate[]; L648: export type ByteMatchTargetString = Buffer|Uint8Array|Blob|string; L649: export interface ByteMatchTuple { [15:37:09] typescript: ...tya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/config.d.ts, line: 1 Cannot find module 'http'. L1: import {Agent as httpAgent} from 'http'; L2: import {Agent as httpsAgent} from 'https'; [15:37:09] typescript: ...tya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/config.d.ts, line: 2 Cannot find module 'https'. L1: import {Agent as httpAgent} from 'http'; L2: import {Agent as httpsAgent} from 'https'; L3: import {AWSError} from './error'; [15:37:09] typescript: ...s/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts, line: 2 Cannot find module 'stream'. L1: import DynamoDB = require('../../clients/dynamodb'); L2: import * as stream from 'stream'; L3: import {Request} from '../request'; [15:37:09] typescript: ...s/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts, line: 93 Cannot find name 'Buffer'. L93: export type binaryType = Buffer|File|Blob|ArrayBuffer|DataView|Int8Array|Uint8Array|Uint8ClampedArray|In [15:37:09] typescript: ...s/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/dynamodb/document_client.d.ts, line: 274 Cannot find name 'Buffer'. L273: export type BatchWriteItemRequestMap = {[key: string]: WriteRequests}; L274: export type BinaryAttributeValue = Buffer|Uint8Array|Blob|string; L275: export type BinarySetAttributeValue = BinaryAttributeValue[]; [15:37:09] typescript: ...ra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/http_response.d.ts, line: 1 Cannot find module 'stream'. L1: import * as stream from 'stream'; L2: interface XMLHttpRequest {} [15:37:09] typescript: ...ra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/http_response.d.ts, line: 14 Cannot find name 'Buffer'. L14: body: string|Buffer|Uint8Array; [15:37:09] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/request.d.ts, line: 1 Cannot find module 'stream'. L1: import * as stream from 'stream'; L2: import {Service} from './service'; [15:37:09] typescript: ...ya Misra/Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/request.d.ts, line: 132 Cannot find name 'Buffer'. L132: on(event: "httpData", listener: (chunk: Buffer|Uint8Array, response: Response<D, E>) => void): Request<D, E> [15:37:09] typescript: ...Documents/DevKarya/aws-test/myApp/node_modules/aws-sdk/lib/services/glacier.d.ts, line: 10 Cannot find name 'Buffer'. L10: computeChecksums(data: Buffer|string): GlacierComputeChecksumsOutput; [15:37:09] typescript: ...sers/Aditya Misra/Documents/DevKarya/aws-test/myApp/src/pages/account/account.ts, line: 44 Type 'Object' is not assignable to type 'string'. L43: Storage.get(this.userId + '/avatar') L44: .then(url => this.avatarPhoto = url); [15:37:09] typescript: ...Misra/Documents/DevKarya/aws-test/myApp/src/pages/confirmSignIn/confirmSignIn.ts, line: 25 Expected 3 arguments, but got 2. L24: confirm() { L25: Auth.confirmSignIn(this.user, this.code) L26: .then(() => this.navCtrl.push(TabsPage)) [15:37:09] ionic-app-script task: "build" [15:37:09] Error: Failed to transpile program Error: Failed to transpile program at new BuildError (C:\Users\Aditya Misra\Documents\aws-test\myApp\node_modules\@ionic\app-scripts\dist\util\errors.js:16:28) at C:\Users\Aditya Misra\Documents\aws-test\myApp\node_modules\@ionic\app-scripts\dist\transpile.js:159:20 at new Promise (<anonymous>) at transpileWorker (C:\Users\Aditya Misra\Documents\aws-test\myApp\node_modules\@ionic\app-scripts\dist\transpile.js:107:12) at Object.transpile (C:\Users\Aditya Misra\Documents\aws-test\myApp\node_modules\@ionic\app-scripts\dist\transpile.js:64:12) at C:\Users\Aditya Misra\Documents\aws-test\myApp\node_modules\@ionic\app-scripts\dist\build.js:109:82 at <anonymous> npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! myApp@0.0.1 build: `ionic-app-scripts build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the myApp@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! C:\Users\Aditya Misra\AppData\Roaming\npm-cache\_logs\2018-06-30T10_07_09_260Z-debug.log
Duplicate of https://github.com/ionic-team/starters/issues/88
Starter Type: ionic3 Starter Template: aws
Description: Ionic aws starter project after following each step of the way does not start.
My
ionic info
:Other Information:
and it ends right there. No browser is opened, nor can I see the app post publishing.
I figured the app wasn't getting built. So I ran
npm run build
and got the following output.