All declarations of 'stream' must have identical modifiers api-ai-javascript - Dialogflow

Joel K Thomas

I am trying to integrate Dialogflow in Angular 7. I am getting this error.

  ** Angular Live Development Server is listening on localhost:4200, 
open your browser on http://localhost:4200/ **

Date: 2018-11-22T13:47:11.748Z
Hash: 4075ca64830b90f82558
Time: 4597ms
chunk {main} main.js, main.js.map (main) 1.85 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 92.4 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.08 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 16.2 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 318 kB [initial] [rendered]

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

ℹ 「wdm」: Failed to compile.
Neeraj Shende

For temporary solution to this, I have added the following check in your tsconfig.json file

  "compilerOptions": {
    "skipLibCheck": true
  }

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

API declarations must be interfaces- Retrofit

To check whether all elements of a `Stream` are identical

Why do many of the methods in the Java API have "abstract" modifiers?

All declarations of 'WeakMap' must have identical type parameters

Count the number of rows where all columns have identical values

How to train api.ai/dialogflow chatbot dynamically?

Device location in dialogflow (api.ai) webhook request

Is there a way to have change female to male voice during the conversation in DialogFlow (Api.ai)

Subsequent property declarations must have the same type. Property string should be of type () => string

API.ai / Dialogflow basic text request not working

error TS2687: All declarations of 'observable' must have identical modifiers

Audio Payload Dialogflow (api.ai)

How to determine the type of the platform in Dialogflow (API.AI)

DialogFlow (API.AI) REST with php

dialogflow (api.ai) intent redirection for translate webhook

React + TypeScript broke overnight - "All declarations of 'value' must have identical modifiers." in node_modules/@types/es6-shim/index.d.ts

How can i solve the error Subsequent property declarations must have the same type. Angular 9

Subsequent variable declarations must have the same type. Variable 'where' must be of type 'any[]', but here has type 'string[]'

Subsequent variable declarations must have the same type error for lodash require TypeScript

What effect do modifiers have in declarations with qr operator?

HERE Maps Javascript API - Throwing "Pointer Must Have ID" Error

All elements must have a set of attributes

Angular Newbie: Debugging Typescript Error "All declarations of 'imageLoader' must have identical type parameters"

Dialogflow (API.AI) how to match numbers that are valid words

DialogFlow/Api.AI inline editor regex for email validation

How to display a limited number of records that must have a minimal field in stream api?

Why Field declarations have no keywords in Javascript ES6?

java.lang.IllegalArgumentException: API declarations must be interfaces

Cannot implement user roles in next-auth, 'user' does not have identical modifiers