Hi,
I just bought this theme but came across the following error while building the assets:
[webpack-cli] [Error: ENOENT: no such file or directory, open 'C:\Users\XXXX\Desktop\XXXX\Framework\node_modules\datatables.net-buttons\js\buttons.flash.js'] {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'C:\\Users\\XXXX\\Desktop\\XXXX\\Framework\\node_modules\\datatables.net-buttons\\js\\buttons.flash.js'
}
I replaced some personal information with "XXXX" but it can't find that following file, while I search for it on the location it is not present.
I can comment the line from module.exports = [] this will work but need a other solution.
Hi Roméo Gregory,
You can follow these steps:
Locate the file /resources/mix/vendors/datatables/datatables.bundle.js in your Laravel project.
Open the file and look for the line that references datatables.net-buttons/js/buttons.flash.js.
Temporarily comment out or remove this line from the file.
Save the changes and try running the build process again.
This should allow the build process to complete successfully. We will include the fix in the next updates.
Thank you