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
{{ message }}
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
Context: I am trying to use event-hubs-node within Angular 6 app. The build error I got is
ERROR in node_modules/azure-event-hubs/typings/lib/util/utils.d.ts(1,23): error TS2688: Cannot find type definition file for 'async-lock'.
However, when I tried to to npm install --save @types/async-lock. My build failed with other dependencies such as the following
ERRORin./node_modules/azure-event-hubs/dist/lib/auth/sas.js
Module notfound: Error: Can't resolve 'crypto' in '/Users/dantr001/Documents/Personal/mean-world/node_modules/azure-event-hubs/dist/lib/auth'ERROR in ./node_modules/adal-node/lib/cache-driver.jsModule not found: Error: Can'tresolve'crypto'in'/Users/dantr001/Documents/Personal/mean-world/node_modules/adal-node/lib'ERRORin./node_modules/aws-sign2/index.js
Module notfound: Error: Can't resolve 'crypto' in '/Users/dantr001/Documents/Personal/mean-world/node_modules/aws-sign2'ERROR in ./node_modules/aws4/aws4.jsModule not found: Error: Can'tresolve'crypto'in'/Users/dantr001/Documents/Personal/mean-world/node_modules/aws4'
There is a dev dependency on @types/async-lock in the package.json.
This project has not been browserified yet. It works in a node.js environment. Hence there will be unexpected blockers when trying to use it in an angular app.
Someone has created an eventhub viewer website. It may be interesting for you to take a look.
We have a meta issue #56 for tracking browser support. We should be able to get it working in the next sprint or two.
Hello,
Context: I am trying to use event-hubs-node within Angular 6 app. The build error I got is
ERROR in node_modules/azure-event-hubs/typings/lib/util/utils.d.ts(1,23): error TS2688: Cannot find type definition file for 'async-lock'.
However, when I tried to to
npm install --save @types/async-lock
. My build failed with other dependencies such as the followingMy current app dependencies are:
Please let me know if you need additional information. Thanks!
The text was updated successfully, but these errors were encountered: