npm run watch crashes after any change in vue or js files: compileTemplate now requires the `id` option.`

Viewed 228

enter image description here

Both npm run dev and prod works properly, however when I try to run watch, and change files, npm run watch throws an error and crashes.

Using laravel mix with TS, webpack mix params:

 .webpackConfig({
    module: {
        rules: [
            {
                test: /\.tsx?$/,
                loader: "ts-loader",
                options: { appendTsSuffixTo: [/\.vue$/] },
                exclude: /node_modules/,
            },
        ],
    },
    resolve: {
        extensions: ["*", ".js", ".jsx", ".vue", ".ts", ".tsx"],
    },
})
1 Answers
Related