与えられたvue:ビルドモジュール1/1モジュール0 activeevents.js:174 throw er; //未処理の「エラー」イベント
Vue Given Building Modules 1 1 Modules 0 Activeevents
1、モジュールの構築1/1モジュール0 activeevents.js:174 throw er //未処理の「エラー」イベント
ホスト、ホストかどうかが設定されていません。内部の config index.jsの変更
const path = require('path') module.exports = { dev: { // Paths assetsSubDirectory: 'static', assetsPublicPath: '/', proxyTable: {}, // Various Dev Server settings host: '192.168.9.120', // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined ... }