Skip to content

Webpack throws fatal error on compilation #6

@kidunot89

Description

@kidunot89

Describe the bug
Webpack throws the following when npm run build or npm start is executed from the terminal

ERROR in ./node_modules/react-apollo/react-apollo.browser.umd.js
    Module not found: Error: Can't resolve 'react-dom/server' in '/home/geoff/Dev/web/axistaylor-3.0.0/node_modules/react-apollo'

It's still compiles like successful with no errors, but I just wanted to shine light on anyone who see this error. This is due to React-Apollo and the lack of react-dom. You can suppress this by installing react-dom to devDependencies, but from what I can tell, no problem will arise if it's simply ignored.

To Reproduce
Run npm run build or npm start

Desktop (please complete the following information):

  • OS: Ubuntu 18.04

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions