npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN email@example.com requires a peer of webpack@^2.2.0 but none is installed. You must install peer dependencies yourself. npm WARN firstname.lastname@example.org requires a peer of webpack@^1 || ^2 || ^2.1.0-beta || ^2.2.0-beta but none is installed. You must install peer dependencies yourself.
npm run dev提示正常
> vue-hackernews-2.0@ dev /Users/fuckc/Documents/vue-hackernews-2.0 > node server server started at localhost:8080 DONE Compiled successfully in 2518ms 19:15:38 DONE Compiled successfully in 2818ms 19:15:38 webpack built 1345b8affebfcb6afefa in 2818ms
npm run build 和