I purchase theme from themeforest, and I tried both download file from themeforest and keenthemes.
The build always return error.
follow the guild
>>> gulp --demo1
file:///D:/asp.net-core/Starterkit/_keenthemes/tools/gulp/helpers.js:16
import {glob} from "glob";
^^^^
SyntaxError: Named export 'glob' not found. The requested module 'glob' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'glob';
const {glob} = pkg;
at ModuleJob._instantiate (node:internal/modules/esm/module_job:124:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:190:5)
>>> npm run build --demo1
> keenthemes@1.0.0 build
> webpack
[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.
Hi,
The problem was in the Windows OS environment. The link you were given offers a temporary solution to this issue. We are working on incorporating this fix into upcoming updates. Your patience is appreciated.
Thanks
Hi,
Thank you for reaching out to us.
Unfourtuneftly, we were not able to reproduce this error in the latest Meronic v8.2.0.
Could you please specify the following?
Found the old post and resolved it.
The package I download doesn't have the latest webpack.config.js file
the link: https://gist.github.com/KeenthemesHub/2189b96490016bc32f88b3091e446906#file-webpack-config-js-L113-L116
Don't know why my file isn't the same as the file on github but it works
I think you guys should check again the file host ed on the site.