Repository navigation
Closed
Labels
Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Required for internal Azure reporting. Do not delete. Do not change color.ExemptFromDailyDRIReportUse this label to exclude the issue from the DRI report.Use this label to exclude the issue from the DRI report.R11Release 11 - November 15th, 2020Release 11 - November 15th, 2020customer-replied-toRequired for internal reporting. Do not delete.Required for internal reporting. Do not delete.customer-reportedRequired for internal Azure reporting. Do not delete.Required for internal Azure reporting. Do not delete.
Description
Here 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'Reacted by Ramith Randeniya
Metadata
Metadata
Assignees
Labels
Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.Required for internal Azure reporting. Do not delete. Do not change color.ExemptFromDailyDRIReportUse this label to exclude the issue from the DRI report.Use this label to exclude the issue from the DRI report.R11Release 11 - November 15th, 2020Release 11 - November 15th, 2020customer-replied-toRequired for internal reporting. Do not delete.Required for internal reporting. Do not delete.customer-reportedRequired for internal Azure reporting. Do not delete.Required for internal Azure reporting. Do not delete.
Activity
compulim commentedon Jun 22, 2020
xtianus79 what bundler are you using? I am guessing it is not Webpack, so it don't turn
crypto/http/streamintonode-libs-browser.Steven Gum (@stevengum) I think we need to take away Node.js dependencies from
botframework-streaming.xtianus79 commentedon Jun 24, 2020
William Wong (@compulim) I am using Angular cli 9+ and to make matters super interesting Angular universal. lol I always have to decide if that is a culprit.
compulim commentedon Jun 26, 2020
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). Steven Gum (@stevengum) and Ashley Finafrock (@Zerryth) are trying to take away Node.js package or directly linking tonode-libs-browserAnother 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?
stevengum commentedon Jun 26, 2020
Closed #289 as the same error message was being reported here. Additionally, I have the same concerns about the missing
node-libs-browser.xtianus79 regarding version of TypeScript used (comment)
stevengum commentedon Jul 8, 2020
Quick update from my end for botframework-streaming:
I’m currently working on removing the node.js specific dependencies and either replacing it with an explicit pollyfill or creating a Node/Browser specific implementation classes.
I have a simple manual integration test that I’m using to validate the work I’m doing.
This work will ship with R10.
stevengum commentedon Aug 7, 2020
Unfortunately there isn't enough R10 bake time for the removal of the Node.js dependencies in the botframework-streaming.
The currently targeted milestone is R11.
stevengum commentedon Feb 10, 2021
The
crypto,http, andstreamdependency resolution issue has been fixed via #323.stevengum commentedon Feb 10, 2021
The fix for resolving Node.js dependencies was just released in version 0.14.1 of
botframework-directlinejs.corinagum commentedon Feb 11, 2021
Closing as resolved.