在窗口10中,在“零开始”评论时发现错误。
https://i.stack.imgur.com/Ejv0p.png” rel=“nofollow noreferer”>showing误差
包裹。
https://i.stack.imgur.com/0vrGR.png”rel=“nofollow noreferer”>Packages.json
Log
- 0 info it worked if it ends with ok
- 1 verbose cli [ C:Program Files odejs ode.exe ,
- 1 verbose cli C:UsersvkaruthaAppDataRoaming pm ode_modules pmin pm-cli.js ,
- 1 verbose cli start ]
- 2 info using [email protected]
- 3 info using [email protected]
- 4 verbose run-script [ prestart , start , poststart ]
- 5 info lifecycle [email protected]~prestart: [email protected]
- 6 silly lifecycle [email protected]~prestart: no script for prestart, continuing
- 7 info lifecycle [email protected]~start: [email protected]
- 8 verbose lifecycle [email protected]~start: unsafe-perm in lifecycle true
- 9 verbose lifecycle [email protected]~start: PATH: C:UsersvkaruthaAppDataRoaming pm ode_modules pmin ode-gyp-bin;C:UsersvkaruthaDocumentsReacthello-world ode_modules.bin;C:ProgramDataOracleJavajavapath;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:WINDOWSSystem32WindowsPowerShellv1.0;C:Program Files (x86)WebExProductivity Tools;C:Program Files (x86)CiscoOSD-ShellApplications;C:Program FilesJavajdk1.8.0_101in;C:Ciscosoftwareapache-maven-3.3.9in;C:Program FilesGitcmd;C:Program Files odejs;C:Program FilesTortoiseSVNin;C:Program Files odejsin;C:Program Files (x86)SennheiserSoftphoneSDK;C:Program Files (x86)ssh communications securityssh Secure Shell;C:UsersvkaruthaAppDataRoaming pm;C:Program Files (x86)Microsoft VS Codein;C:Program Files odejsin
- 10 verbose lifecycle [email protected]~start: CWD: C:UsersvkaruthaDocumentsReacthello-world
- 11 silly lifecycle [email protected]~start: Args: [ /d /s /c , webpack-dev-server --hot ]
- 12 silly lifecycle [email protected]~start: Returned: code: 4294967295 signal: null
- 13 info lifecycle [email protected]~start: Failed to exec start script
- 14 verbose stack Error: [email protected] start:
webpack-dev-server --hot
- 14 verbose stack Exit status 4294967295
- 14 verbose stack at EventEmitter. (C:UsersvkaruthaAppDataRoaming pm ode_modules pmlibutilslifecycle.js:279:16)
- 14 verbose stack at emitTwo (events.js:106:13)
- 14 verbose stack at EventEmitter.emit (events.js:191:7)
- 14 verbose stack at ChildProcess. (C:UsersvkaruthaAppDataRoaming pm ode_modules pmlibutilsspawn.js:40:14)
- 14 verbose stack at emitTwo (events.js:106:13)
- 14 verbose stack at ChildProcess.emit (events.js:191:7)
- 14 verbose stack at maybeClose (internal/child_process.js:877:16)
- 14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
- 15 verbose pkgid [email protected]
- 16 verbose cwd C:UsersvkaruthaDocumentsReacthello-world
- 17 error Windows_NT 10.0.10586
- 18 error argv "C:Program Files odejs ode.exe" "C:UsersvkaruthaAppDataRoaming pm ode_modules pmin pm-cli.js" "start"
- 19 error node v6.9.3
- 20 error npm v4.2.0
- 21 error code ELIFECYCLE
- 22 error errno 4294967295
- 23 error [email protected] start:
webpack-dev-server --hot
- 23 error Exit status 4294967295
- 24 error Failed at the [email protected] start script webpack-dev-server --hot .
- 24 error Make sure you have the latest version of node.js and npm installed.
- 24 error If you do, this is most likely a problem with the hello-world package,
- 24 error not with npm itself.
- 24 error Tell the author that this fails on your system:
- 24 error webpack-dev-server --hot
- 24 error You can get information on how to open an issue for this project with:
- 24 error npm bugs hello-world
- 24 error Or if that isn t available, you can get their info via:
- 24 error npm owner ls hello-world
- 24 error There is likely additional logging output above.
- 25 verbose exit [ 4294967295, true ]
网址:config.js
var config = {
entry: ./main.js ,
output: {
path: ./ ,
filename: index.js ,
},
devServer: {
inline: true,
port: 8080
},
module: {
loaders: [
{
test: /.jsx?$/,
exclude: /node_modules/,
loader: babel ,
query: {
presets: [ es2015 , react ]
}
}
]
}
}