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

Symfony_Demo1


Hello i have a problème, when i try to make "npm run build" i have this error
"> keenthemes@1.0.0 build
> webpack

Source: C:/Users/yuris/Downloads/metronic_symfony_v8.2.0_demo1/symfony_demo1/themes/npm_version/html/demo1/src
Output: C:/Users/yuris/Downloads/metronic_symfony_v8.2.0_demo1/symfony_demo1/themes/npm_version/html/demo1/dist/assets
[webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
- configuration[0].entry['js/widgets.bundle'] should be a non-empty array.
-> All modules are loaded upon startup. The last one is exported."

Can you help me pls ?


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)

I'm sorry to hear that you're facing an issue with the webpack configuration in your Symfony project. To address this issue, you can try the following steps:

  1. Update Webpack Configuration

The error you're encountering might be related to the webpack configuration. You can try updating the webpack.config.js file located in your Symfony project.

  1. Run "npm run build" Again

After updating the webpack configuration, try running npm run build again in your project's root directory. Hopefully, the updated configuration will resolve the issue and allow webpack to build your project successfully.

  1. Known Issue in Windows

It's mentioned that there's a known issue with Windows. Make sure to update the webpack configuration file as instructed in the provided link.

If you still face issues after trying these steps, consider reaching out to Keenthemes support or community forums for further assistance.

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  :(