E:\soft\React\nodejs\node.exe E:\soft\React\nodejs\node_modules\npm\bin\npm-cli.js run start --scripts-prepend-node-path=auto
> devops-web@0.1.0 start
> node server
Server running on port 9000
(node:2884) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/loader-utils/issues/56
parseQuery() will be replaced with getOptions() in the next major version of loader-utils.
(Use `node --trace-deprecation ...` to show where the warning was created)
解决方法:
在server.js中添加 process.noDeprecation = true