Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors while compiling #90

Open
pasupuletisrinath opened this issue Jun 20, 2018 · 1 comment
Open

Errors while compiling #90

pasupuletisrinath opened this issue Jun 20, 2018 · 1 comment

Comments

@pasupuletisrinath
Copy link

pasupuletisrinath commented Jun 20, 2018

Im getting errors while im trying to compiling with this module with angular

ERROR in ./node_modules/api-ai-javascript/declarations.d.ts (9,5): Subsequent variable declarations must have the same type. Variable 'speechSynthesis' must be of type 'SpeechSynthesis', but here has type 'any'.

ERROR in ./node_modules/api-ai-javascript/declarations.d.ts (9,5): All declarations of 'speechSynthesis' must have identical modifiers.

ERROR in ./node_modules/api-ai-javascript/ts/XhrRequest.ts (105,19): Cannot find name 'ActiveXObject'.

ERROR in ./node_modules/api-ai-javascript/ts/XhrRequest.ts (106,19): Cannot find name 'ActiveXObject'.

ERROR in ./node_modules/api-ai-javascript/ts/XhrRequest.ts (107,19): Cannot find name 'ActiveXObject'.

ERROR in ./node_modules/api-ai-javascript/ts/Request/TTSRequest.ts (18,37): Property 'AudioContext' does not exist on type 'Window'.

ERROR in ./node_modules/api-ai-javascript/ts/Request/TTSRequest.ts (18,53): Cannot find name 'webkitAudioContext'.

ERROR in ./node_modules/api-ai-javascript/ts/Stream/Processors.ts (7,16): Property 'AudioContext' does not exist on type 'Window'.

ERROR in ./node_modules/api-ai-javascript/ts/Stream/Processors.ts (7,38): Property 'AudioContext' does not exist on type 'Window'.

ERROR in ./node_modules/api-ai-javascript/ts/Stream/Processors.ts (7,54): Cannot find name 'webkitAudioContext'.

ERROR in ./node_modules/api-ai-javascript/ts/Stream/StreamClient.ts (60,20): Property 'AudioContext' does not exist on type 'Window'.

ERROR in ./node_modules/api-ai-javascript/ts/Stream/StreamClient.ts (60,42): Property 'AudioContext' does not exist on type 'Window'.

ERROR in ./node_modules/api-ai-javascript/ts/Stream/StreamClient.ts (60,58): Cannot find name 'webkitAudioContext'.

ERROR in ./node_modules/api-ai-javascript/ts/Stream/StreamClient.ts (62,53): Property 'webkitGetUserMedia' does not exist on type 'Navigator'.

ERROR in ./node_modules/api-ai-javascript/ts/Stream/StreamClient.ts (62,85): Property 'mozGetUserMedia' does not exist on type 'Navigator'.

@pasupuletisrinath
Copy link
Author

upgraded to 2.0.0-beta.21 and now I don't have any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant