You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reopening because of #2223, there is one more additional step to validate the fix, which is creating a webpack project which imports botframework-directlinejs.
Versions
4.9.0
Describe the bug
botframework-streaming/src/utilities/index.ts
exportscreateNodeServer
which requires the Node.js'net'
module.Because Webpack supports
require
, it attempts to callrequire('net')
and'net'
is not available, so webpack fails.Potential Fix
A quick fix is removing the export of createNodeServer from the index, and then NamedPipeServer importing directly from the
createNodeServer.ts
file:import { createNodeServer } from '../utilities/createNodeServer';
The text was updated successfully, but these errors were encountered: