美文网首页
npm run dev报错,events.js:160 thro

npm run dev报错,events.js:160 thro

作者: 爱笑的小白菜 | 来源:发表于2018-06-08 18:20 被阅读0次

    后来找了找是端口被占用的缘故,dev: {

    env: require('./dev.env'),

    port: 8088, # 注意了啊。。。修改成你要的端口,接着运行代码就看到效果了

    assetsSubDirectory: 'static',

    assetsPublicPath: '/',

    proxyTable: {},

    // CSS Sourcemaps off by default because relative paths are "buggy"

    // with this option, according to the CSS-Loader README

    // (https://github.com/webpack/css-loader#sourcemaps)

    // In our experience, they generally work as expected,

    // just be aware of this issue when enabling this option.

    cssSourceMap: false

    }

    相关文章

      网友评论

          本文标题:npm run dev报错,events.js:160 thro

          本文链接:https://www.haomeiwen.com/subject/ikoasftx.html