- configuration.output.path: The provided value “public” is not an absolute path! with Webpack

前端 未结 5 1013
礼貌的吻别
礼貌的吻别 2021-02-06 21:08

I\'m using Laravel Mix, that is based on WebPack.

I had it working, and now, it fails with:

Invalid configuration object. Webpack has been initialised us         


        
5条回答
  •  忘掉有多难
    2021-02-06 21:18

    Quoting this comment:

    For anyone else wondering how to take advantage of that fix, you can edit your package.json and make sure your larave-mix version is 0.10 or higher:

    "laravel-mix": "^0.10.0",

    Then run npm update.

    I think the best (cleanest) solution is to update the Laravel Mix to last version (0.12 today)

提交回复
热议问题