.16299.431]
(c) 2017 Microsoft Corporation。保留所有权利。
D:\WebStormWorkSpace\react-cnode-teach>npm run dev:client
> react-cnode-teach@1.0.0 dev:client D:\WebStormWorkSpace\react-cnode-teach
> cross-env NODE_ENV=development webpack-dev-server --config build/webpack.config.
client.js
i 「wds」: Project is running at http://localhost:8080/
i 「wds」: webpack output is served from /
× 「wdm」: Hash: c4019cc1ca7bd3931185
Version: webpack 4.8.3
Time: 465ms
Built at: 2018-05-24 09:19:15
1 asset
Entrypoint main = main.js
[3] (webpack)/hot/emitter.js 77 bytes {0} [built]
[5] (webpack)/hot sync nonrecursive ^\.\/log$ 170 bytes {0} [built]
[8] ./node_modules/html-entities/index.js 231 bytes {0} [built]
[9] ./node_modules/ansi-html/index.js 4.16 KiB {0} [built]
[10] (webpack)-dev-server/client/overlay.js 3.58 KiB {0} [built]
[11] ./node_modules/sockjs-client/dist/sockjs.js 176 KiB {0} [built]
[12] (webpack)-dev-server/client/socket.js 1.05 KiB {0} [built]
[13] ./node_modules/loglevel/lib/loglevel.js 7.68 KiB {0} [built]
[14] (webpack)-dev-server/node_modules/ansi-regex/index.js 135 bytes {0} [built]
[15] (webpack)-dev-server/node_modules/strip-ansi/index.js 161 bytes {0} [built]
[18] ./node_modules/querystring-es3/index.js 127 bytes {0} [built]
[19] ./node_modules/url/util.js 314 bytes {0} [built]
[22] ./node_modules/url/url.js 22.8 KiB {0} [built]
[23] (webpack)-dev-server/client?http://localhost:8080 7.75 KiB {0} [built]
[24] multi (webpack)-dev-server/client?http://localhost:8080 ./src 40 bytes {0} [b
uilt]
+ 10 hidden modules
WARNING in configuration
The 'mode' option has not been set, webpack will fallback to 'production' for this
value. Set 'mode' option to 'development' or 'production' to enable defaults for
each environment.
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/
ERROR in multi (webpack)-dev-server/client?http://localhost:8080 ./src
Module not found: Error: Can't resolve './src' in 'D:\WebStormWorkSpace\react-cnode-teach'
@ multi (webpack)-dev-server/client?http://localhost:8080 ./src
i 「wdm」: Failed to compile.