Skip to content

Cannot set property 'wasm' of undefined. Mismatched mime versions? #1724

Description

@tannerlinsley
  • Operating System: MacOS 10.14
  • Node Version: 10.5.0
  • NPM Version: 6.4.1
  • webpack Version: 4.29.6
  • webpack-dev-server Version: 3.2.1
  • This is a bug
  • This is a modification request

Code

TypeError: Cannot set property 'wasm' of undefined
  
  - Server.js:160 new Server
    [basic]/[webpack-dev-server]/lib/Server.js:160:36
  
  - index.js:248 _callee7$
    ../../../src/static/webpack/index.js:248:15
  
  - runtime.js:62 tryCatch
    [basic]/[regenerator-runtime]/runtime.js:62:40

This is currently in a local WIP branch of React Static v7.
This bug may be related to #1580?

The line of code [basic]/[webpack-dev-server]/lib/Server.js:160:36 is referring to is https://github.com/webpack/webpack-dev-server/blob/master/lib/Server.js#L160

Expected Behavior

The dev server should start without errors.

Actual Behavior

When attempting to start the dev server, Cannot set property 'wasm' of undefined is logged and the process hangs.

For Bugs; How can we reproduce the behavior?

Working on a reproduction link, will edit to include asap.

For Features; What is the motivation and/or use-case for the feature?

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

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions