Directline sdk is broken without installing certain packages. Please address
See original GitHub issueHere is the errors from rxjs not working
ERROR in ./node_modules/botframework-directlinejs/lib/directLineStreaming.js
Module not found: Error: Can't resolve 'rxjs/BehaviorSubject' in '/mnt/c/repos/ai-xxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/BehaviorSubject' in '/mnt/c/repos/ai-xxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLineStreaming.js
Module not found: Error: Can't resolve 'rxjs/Observable' in '/mnt/c/repos/ai-xxxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/Observable' in '/mnt/c/repos/ai-xxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/observable/dom/ajax' in '/mnt/c/repos/ai-xxxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/observable/empty' in '/mnt/c/repos/ai-xxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/observable/from' in '/mnt/c/repos/ai-xxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/observable/interval' in '/mnt/c/repos/ai-xxxxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/observable/of' in '/mnt/c/repos/ai-xxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/observable/throw' in '/mnt/c/repos/ai-xxxxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/operator/catch' in '/mnt/c/repos/ai-xxxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/operator/combineLatest' in '/mnt/c/repos/ai-xxxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/operator/concatMap' in '/mnt/c/repos/ai-xxxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/operator/count' in '/mnt/c/repos/ai-xxxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/operator/delay' in '/mnt/c/repos/ai-xxxxxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/operator/do' in '/mnt/c/repos/ai-xxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/operator/filter' in '/mnt/c/repos/ai-xxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/operator/map' in '/mnt/c/repos/ai-xxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/operator/mergeMap' in '/mnt/c/repos/ai-xxxxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/operator/retryWhen' in '/mnt/c/repos/ai-xxxxxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/operator/share' in '/mnt/c/repos/ai-xxxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/add/operator/take' in '/mnt/c/repos/ai-xxxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
ERROR in ./node_modules/botframework-directlinejs/lib/directLine.js
Module not found: Error: Can't resolve 'rxjs/scheduler/async' in '/mnt/c/repos/ai-xxxxxxxx-frontend-website/node_modules/botframework-directlinejs/lib'
After installing rxjs-compat or I’m assuming rxjs 5.0 these are the remaining errors
ERROR in ./node_modules/botframework-streaming/browser/webSocket/nodeWebSocket.js
Module not found: Error: Can't resolve 'crypto' in '/mnt/c/repos/ai-xxxxxx-frontend-website/node_modules/botframework-streaming/browser/webSocket'
ERROR in ./node_modules/botframework-streaming/browser/webSocket/nodeWebSocket.js
Module not found: Error: Can't resolve 'http' in '/mnt/c/repos/ai-xxxxxxxxx-frontend-website/node_modules/botframework-streaming/browser/webSocket'
ERROR in ./node_modules/botframework-streaming/browser/subscribableStream.js
Module not found: Error: Can't resolve 'stream' in '/mnt/c/repos/ai-xxxxxxxx-frontend-website/node_modules/botframework-streaming/browser'
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Troubleshooting Azure Bot Service bots - Microsoft Learn
I'm using the Bot Framework SDK for .NET. How can I troubleshoot issues with my bot? Look for exceptions. In Visual Studio 2019,...
Read more >Diagnose Advanced Work Assignment configuration issues
Use the Conversational Interfaces Diagnostic Tool to identify and resolve common Advanced Work Assignment (AWA) configuration issues before ...
Read more >waC - River Thames Conditions
Family cruise packages galveston tx, Mailchimp campaign reports, Brinkley beauty reviews, Brazil us embassy, Anhalter bahnhof berlin bunker, Amt 380 backup ...
Read more >Network Video Recorder User's Manual - Dahua
this is to install the recorder in a lockbox, locking server rack, ... specific power supply requirements, please refer to device labels.
Read more >SM-L300 Hardware Manual - Star Micronics
To use this product in safety, please follow the precautions given below. WARNING ... printer and remove the USB cable and/or battery pack....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@xtianus79 what bundler are you using? I am guessing it is not Webpack, so it don’t turn
crypto
/http
/stream
intonode-libs-browser
.@stevengum I think we need to take away Node.js dependencies from
botframework-streaming
.@xtianus79 I think there are two issues:
We assume Webpack is everything. But in fact, Webpack is too magical (automatically convert Node.js package into
node-libs-browser
). @stevengum and @Zerryth are trying to take away Node.js package or directly linking tonode-libs-browser
Another issue is the version of RxJS we are using is too old (
5.5.10
). May be it conflict with the version Angular brought in.We are not very familiar with Angular. Could you provide a minimal repos that can build and host Web Chat on Angular? So we could check that into our repos and make sure we our integration test will test basic functionality on Web Chat on Angular?