Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

NPM build unsuccessful (laravel)


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.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


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


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(