o2team / athena2

Build tool based on Webpack
MIT License
214 stars 38 forks source link

add html-webpack-plugin but can't start #7

Open littleLane opened 6 years ago

littleLane commented 6 years ago

development environment

npm@5.7.1
node@v6.11.3 html-webpack-plugin@v2.28.0

error

10 silly lifecycle hf-web-project1.2@0.0.1~start: Args: [ '-c', 'ath2 s' ]
11 silly lifecycle hf-web-project1.2@0.0.1~start: Returned: code: 1  signal: null
12 info lifecycle hf-web-project1.2@0.0.1~start: Failed to exec start script
13 verbose stack Error: hf-web-project1.2@0.0.1 start: `ath2 s`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
13 verbose stack     at emitTwo (events.js:106:13)
13 verbose stack     at EventEmitter.emit (events.js:191:7)
13 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:106:13)
13 verbose stack     at ChildProcess.emit (events.js:191:7)
13 verbose stack     at maybeClose (internal/child_process.js:920:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:230:5)

I just set const HtmlWebpackPlugin = require('html-webpack-plugin'); in dev.js, there is a error when i exec ath2 s!!!