sentry-javascript: Error: Can't resolve 'domain' in @sentry/hub/dist

Package + Version

  • @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other:

Version:

4.2.0

Description

Building an Angular project with @sentry/browser v4.2.0 produces the error:

ERROR in ./node_modules/@sentry/hub/dist/hub.js
Module not found: Error: Can't resolve 'domain' in 'node_modules/@sentry/hub/dist'

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 2
  • Comments: 17 (7 by maintainers)

Most upvoted comments

No more warning under Vue. Nice work - cheers.

Perfect, cheers! I can confirm I’m no longer seeing this on:

angular-cli 7.0.2
npm 6.4.1
node 10.9.0
@sentry/browser 4.2.3

@HazAT we are using the angular-cli