I am using Migrating Angular 4.x to Angular 5 my project. I have faced
ERROR in ./node_modules/api-ai-javascript/index.ts
So i changed in tsconfig.json added below changes,
"include": [
"src/**/*",
"node_modules/api-ai-javascript/index.ts"
]
Still getting /node_modules/ng2-stomp-service/dist/stomp.service.ts
How to added include multiple node_modules?
EDITED:
"include": [
"src/**/*",
{"node_modules/api-ai-javascript/index.ts"},
{"node_modules/ng2-stomp-service/dist/stomp.service.ts"},
]
Getting expected token } in JSON at position 439.
Regarding the invalid json, it's because "include" must be an array of strings. Try that
"include": [
"src/**/*",
"node_modules/api-ai-javascript/index.ts",
"node_modules/ng2-stomp-service/dist/stomp.service.ts"
]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With