Skip to content

fix build process in webpack#595

Merged
chreman merged 2 commits intomasterfrom
security-update-2021-10-addendum
Oct 18, 2021
Merged

fix build process in webpack#595
chreman merged 2 commits intomasterfrom
security-update-2021-10-addendum

Conversation

@chreman
Copy link
Copy Markdown
Member

@chreman chreman commented Oct 14, 2021

I was encountering build errors like

ERROR in ./node_modules/mediator-js/index.js 1:17-24
Module not found: Error: Can't resolve 'process/browser' in '~/Headstart/node_modules/mediator-js'
resolve 'process/browser' in '~/Headstart/node_modules/mediator-js'
  Parsed request is a module
  using description file: ~/Headstart/node_modules/mediator-js/package.json (relative path: .)
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      ~/Headstart/node_modules/mediator-js/node_modules doesn't exist or is not a directory
      ~/Headstart/node_modules/node_modules doesn't exist or is not a directory
      looking for modules in ~/Headstart/node_modules
        ~/Headstart/node_modules/process doesn't exist
      ~/node_modules doesn't exist or is not a directory

which I was able to fix by a few webpack changes

@chreman chreman merged commit d2a268d into master Oct 18, 2021
@chreman chreman deleted the security-update-2021-10-addendum branch October 18, 2021 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants