webpack-hot-middleware

Aurelia, running webpack-dev-server --hot throws error on App Hot Update - 'Cannot read property 'status' of undefined'

余生颓废 提交于 2019-12-25 07:39:17
问题 I downloaded a fresh copy of the Aurelia Navigation Skeleton github repo . I execute the npm run server:dev:hot , which is mapped to cross-env NODE_ENV=development npm run webpack-dev-server -- --inline --progress --profile --watch --hot . The webpack-server starts fine, I see in the console [HMR] is waiting for WDS signal. Everything is fine until I make a change in in a js file to trigger HMR refresh. Then I see an error/warning in the console. I haven't modified anything in the code from

Webpack: “there are multiple modules with names that only differ in casing” but modules referenced are identical

痴心易碎 提交于 2019-11-30 05:35:25
I'm using webpack 3.8.1 and am receiving several instances of the following build warning: WARNING in ./src/Components/NavBar/MainMenuItemMobile.js There are multiple modules with names that only differ in casing. This can lead to unexpected behavior when compiling on a filesystem with other case-semantic. Use equal casing. Compare these module identifiers: * /Users/path/to/babel-loader/lib/index.js!/Users/path/to/NavBar/MainMenuItemMobile.js Used by 1 module(s), i. e. /Users/path/to/babel-loader/lib/index.js!/Users/path/to/NavBar/ConstructedMainMenuItems.js * /Users/path/to/babel-loader/lib

Webpack: “there are multiple modules with names that only differ in casing” but modules referenced are identical

随声附和 提交于 2019-11-27 13:23:54
问题 I'm using webpack 3.8.1 and am receiving several instances of the following build warning: WARNING in ./src/Components/NavBar/MainMenuItemMobile.js There are multiple modules with names that only differ in casing. This can lead to unexpected behavior when compiling on a filesystem with other case-semantic. Use equal casing. Compare these module identifiers: * /Users/path/to/babel-loader/lib/index.js!/Users/path/to/NavBar/MainMenuItemMobile.js Used by 1 module(s), i. e. /Users/path/to/babel