question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

this.files.get is not a function when combining file

See original GitHub issue
  • Laravel Mix Version: 6.0.32 (npm list --depth=0)
  • Node Version (node -v): v14.18.0
  • NPM Version (npm -v): 6.14.15
  • OS:

Description:

I update some packages today, and seems it need node >14.17, so I installed new node and yarn. rimraf node_modules, reinstall packages, when I run watch I got these error.

Steps To Reproduce:

// webpack mix

mix.styles(
    [
        "node_modules/quill/dist/quill.core.css",
        "node_modules/quill/dist/quill.snow.css"
    ],"themes/css/editor.css")

  • yarn run watch

(node:28032) UnhandledPromiseRejectionWarning: TypeError: this.files.get is not a function at ConcatenateFilesTask.watch (D:\xampp\htdocs\lrv\node_modules\laravel-mix\src\tasks\Task.js:23:32) at D:\xampp\htdocs\lrv\node_modules\laravel-mix\src\webpackPlugins\CustomTasksPlugin.js:30:57 at Array.forEach (<anonymous>) at D:\xampp\htdocs\lrv\node_modules\laravel-mix\src\webpackPlugins\CustomTasksPlugin.js:30:36 (Use node --trace-warnings ... to show where the warning was created) (node:28032) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

2reactions
thecrypticacecommented, Oct 11, 2021

Fixed in v6.0.33. Sorry about that!

0reactions
thecrypticacecommented, Oct 11, 2021

Oh oops fix incoming

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - JS - Can't combine lib files - Stack Overflow
Most probably one of your js files is missing a ; at the end. Open up the one you believe is causing the...
Read more >
Why am I getting an error message when trying to combine ...
The problem was not software related. The files I was trying to merge into a single PDF file were stored in a shared...
Read more >
Chunking works, merging misses a few files or corrupts a file
fileName||file.name +' has type not allowed, please upload files of ... getOpt = function(o) { var $opt = this; // Get multiple option...
Read more >
Solved: Combining Files Error in Power Query
I'm trying to 'Get Data' in Power BI from a OneDrive for Business Folder and ... files in the folder that are to...
Read more >
Configuring tasks - Grunt: The JavaScript Task Runner
Combined with grunt's --verbose flag, this option can help debug file path issues. dot Allow patterns to match filenames starting with a period,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found