Failed to compile metronic bundle!
resolve 'jQuery' in '/home/xxx/Downloads/Metronic-7.2.9/theme/html/tools/node_modules/summernote/dist' Parsed request is a module using description file: /home/xxx/Downloads/Metronic-7.2.9/theme/html/tools/node_modules/summernote/package.json (relative path: ./dist) Field 'browser' doesn't contain a valid alias configuration resolve as module /home/xxx/Downloads/Metronic-7.2.9/theme/html/tools/node_modules/summernote/dist/node_modules doesn't exist or is not a directory /home/xxx/Downloads/Metronic-7.2.9/theme/html/tools/node_modules/summernote/node_modules doesn't exist or is not a directory /home/xxx/Downloads/Metronic-7.2.9/theme/html/tools/node_modules/node_modules doesn't exist or is not a directory looking for modules in /home/xxx/Downloads/Metronic-7.2.9/theme/html/tools/node_modules single file module using description file: /home/xxx/Downloads/Metronic-7.2.9/theme/html/tools/package.json (relative path: ./node_modules/jQuery) no extension Field 'browser' doesn't contain a valid alias configuration /home/xxx/Downloads/Metronic-7.2.9/theme/html/tools/node_modules/jQuery doesn't exist .js Field 'browser' doesn't contain a valid alias configuration /home/xxx/Downloads/Metronic-7.2.9/theme/html/tools/node_modules/jQuery.js doesn't exist .scss Field 'browser' doesn't contain a valid alias configuration /home/xxx/Downloads/Metronic-7.2.9/theme/html/tools/node_modules/jQuery.scss doesn't exist /home/xxx/Downloads/Metronic-7.2.9/theme/html/tools/node_modules/jQuery doesn't exist /home/xxx/Downloads/Metronic-7.2.9/theme/html/node_modules doesn't exist or is not a directory /home/xxx/Downloads/Metronic-7.2.9/theme/node_modules doesn't exist or is not a directory /home/xxx/Downloads/Metronic-7.2.9/node_modules doesn't exist or is not a directory /home/xxx/Downloads/node_modules doesn't exist or is not a directory /home/xxx/Downloads/node_modules doesn't exist or is not a directory /home/xxx/node_modules doesn't exist or is not a directory /home/node_modules doesn't exist or is not a directory /node_modules doesn't exist or is not a directory ERROR in ./node_modules/summernote/dist/summernote.js 15:27-44 Module not found: Error: Can't resolve 'jQuery' in '/home/xxx/Downloads/Metronic-7.2.9/theme/html/tools/node_modules/summernote/dist'
webpack compiled with 1 error
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! metronic@7.2.9 build: webpack
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the metronic@7.2.9 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /home/xxx/.npm/_logs/2023-05-25T08_48_47_334Z-debug.log
Hi,
The webpack build is functioning correctly from our end.
To further investigate the issue you're facing, could you please provide your package.json file? This file contains the configuration and dependencies for your project, which will help us better understand the setup and potentially identify any issues.
Thanks