couldnt run the project
Opened this issue · 1 comments
angular-chatbot>ng serve --port 5200 --o
Your global Angular CLI version (7.0.6) is greater than your local
version (1.4.9). The local Angular CLI version is used.
To disable this warning use "ng config -g cli.warnings.versionMismatch false".
Cannot read property 'length' of undefined
TypeError: Cannot read property 'length' of undefined
at createSourceFile (G:\angularFirebase\angular-chatbot\node_modules\typescript\lib\typescript.js:16551:110)
at parseSourceFileWorker (G:\angularFirebase\angular-chatbot\node_modules\typescript\lib\typescript.js:16483:26)
at Object.parseSourceFile (G:\angularFirebase\angular-chatbot\node_modules\typescript\lib\typescript.js:16432:26)
at Object.createSourceFile (G:\angularFirebase\angular-chatbot\node_modules\typescript\lib\typescript.js:16282:29)
at VirtualFileStats.getSourceFile (G:\angularFirebase\angular-chatbot\node_modules@ngtools\webpack\src\compiler_host.js:66:35)
at WebpackCompilerHost.getSourceFile (G:\angularFirebase\angular-chatbot\node_modules@ngtools\webpack\src\compiler_host.js:191:38)
at findSourceFile (G:\angularFirebase\angular-chatbot\node_modules\typescript\lib\typescript.js:70195:29)
at processImportedModules (G:\angularFirebase\angular-chatbot\node_modules\typescript\lib\typescript.js:70342:25)
at findSourceFile (G:\angularFirebase\angular-chatbot\node_modules\typescript\lib\typescript.js:70223:17)
at processImportedModules (G:\angularFirebase\angular-chatbot\node_modules\typescript\lib\typescript.js:70342:25)
at findSourceFile (G:\angularFirebase\angular-chatbot\node_modules\typescript\lib\typescript.js:70223:17)
at processImportedModules (G:\angularFirebase\angular-chatbot\node_modules\typescript\lib\typescript.js:70342:25)
at findSourceFile (G:\angularFirebase\angular-chatbot\node_modules\typescript\lib\typescript.js:70223:17)
at processImportedModules (G:\angularFirebase\angular-chatbot\node_modules\typescript\lib\typescript.js:70342:25)
at findSourceFile (G:\angularFirebase\angular-chatbot\node_modules\typescript\lib\typescript.js:70223:17)
at processImportedModules (G:\angularFirebase\angular-chatbot\node_modules\typescript\lib\typescript.js:70342:25)
There are lots of issue with this api ai javascript also. It is outdated and i am having hard time to resolve the issue.