-
Notifications
You must be signed in to change notification settings - Fork 171
Description
I using Angular 6 and after installing "api-ai-javascript": "^2.0.0-beta.14", I get the following errors when attempting ng serve or ng build:
Also I add api-ai-javascript index.ts to my tsconfig files include (tsconfig.app.json and tsconfig.spec.json ).
tsconfig.app.json
{"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"baseUrl": "./",
"module": "es2015",
"types": []
},
"include": [
"/*.spec.ts",
"/.d.ts",
"../node_modules/api-ai-javascript/index.ts",
"**/.ts"
],
"exclude": [
"test.ts",
"**/*.spec.ts",
]}
tsconfig.spec.json
{"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/spec",
"baseUrl": "./",
"module": "commonjs",
"types": [
"jasmine",
"node"
]
},
"files": [
"test.ts",
"polyfills.ts"
],
"include": [
"/*.spec.ts",
"/.d.ts",
"**/.ts",
"../node_modules/api-ai-javascript/index.ts"
]}
Really I don't know what's the problem.