Skip to content

Warning : Error: Can't resolve 'domain' in '/node_modules/@sentry/hub/esm' #2526

Description

@ThibaudAV

Package + Version

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

Version:

~5.15.2 + 5.15.3 (I don't have that warn with the 5.15.0)
And, I use angular 9.0 with ivy

Description

When I build the app I get a nice ⚠️ WARNING
if I set the version of @sentry/browser to 5.15.0 I don't have it

chunk {4} styles.91325c2227fce484ed88.css (styles) 643 kB [initial] [rendered]
Date: 2020-03-27T10:52:35.191Z - Hash: 54ece857c5cbd64ddfe7 - Time: 208747ms

WARNING in /Users/tavenier/workspace/bridge-bo-portal/node_modules/@sentry/hub/esm/hub.js
Module not found: Error: Can't resolve 'domain' in '/Users/tavenier/workspace/bridge-bo-portal/node_modules/@sentry/hub/esm'
resolve 'domain' in '/Users/tavenier/workspace/bridge-bo-portal/node_modules/@sentry/hub/esm'
  Parsed request is a module
  using description file: /Users/tavenier/workspace/bridge-bo-portal/node_modules/@sentry/hub/package.json (relative path: ./esm)
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      looking for modules in /Users/tavenier/workspace/bridge-bo-portal
        using description file: /Users/tavenier/workspace/bridge-bo-portal/package.json (relative path: .)
          Field 'browser' doesn't contain a valid alias configuration
          using description file: /Users/tavenier/workspace/bridge-bo-portal/package.json (relative path: ./domain)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/tavenier/workspace/bridge-bo-portal/domain doesn't exist
            .ts
              Field 'browser' doesn't contain a valid alias configuration
              /Users/tavenier/workspace/bridge-bo-portal/domain.ts doesn't exist
            .tsx
              Field 'browser' doesn't contain a valid alias configuration
              /Users/tavenier/workspace/bridge-bo-portal/domain.tsx doesn't exist
            .mjs
              Field 'browser' doesn't contain a valid alias configuration
              /Users/tavenier/workspace/bridge-bo-portal/domain.mjs doesn't exist
            .js
              Field 'browser' doesn't contain a valid alias configuration
              /Users/tavenier/workspace/bridge-bo-portal/domain.js doesn't exist
            as directory
              /Users/tavenier/workspace/bridge-bo-portal/domain doesn't exist
 
...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions