Hi Team
I'm getting this error
when I try to run the
npm run dev --demo7
in Laravel theme app,
1 WARNING in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)
ERROR in ./resources/assets/core/plugins/custom/typedjs/typedjs.js 3:15-47
Module not found: Error: Package path ./lib/typed.js is not exported from package /Users/thealchemyst/Documents/sites/traveldata/node_modules/typed.js (see exports field in /Users/thealchemyst/Documents/sites/traveldata/node_modules/typed.js/package.json)
webpack compiled with 1 error and 1 warning
Aplique lo siguiente
* npm install --global yarn
* composer update
* copy .env.example .env
* php artisan migrate:fresh --seed
* php artisan key:generate
----------------------------------------------
* editar webpack.mix.js
Colocar despues de la linea 153 lo siguiente
// Webpack.mix does not copy fonts, manually copy
//(glob.sync(`resources/assets/core/plugins/**/*.+(woff|woff2|eot|ttf|svg)`) || []).forEach(file => {
// var folder = file.match(/resources\/.*?\/core\/plugins\/(.*?)\/.*?/)[1];
//mix.copy(file, `public/${demo}/plugins/global/fonts/${folder}/${path.basename(file)}`);
//});
(glob.sync('node_modules/+(@fortawesome|socicon|line-awesome|bootstrap-icons)/**/*.+(woff|woff2|eot|ttf)') || []).forEach(file => {
const folder = file.match(/node_modules\/(.*?)\//)?.[1];
if (folder) {
const destination = `public/assets/plugins/global/fonts/${folder}/${path.basename(file)}`;
mix.copy(file, destination);
}
});
(glob.sync('node_modules/jstree/dist/themes/default/*.+(png|gif)') || []).forEach(file => {
mix.copy(file, `public/${demo}/plugins/custom/jstree/${path.basename(file)}`);
});
----------------------------------------------
* Abrir archivo package.json buscar "@popperjs/core": "2.11.5", y cambiar a "@popperjs/core": "^2.11.5",
* npm install --save glob
* npm install typed.js@2.0.12
* npm run dev
Ya deberia compilar, seria para laravel, probado en la version 8.1.5
Hi heshan,
Could you please try the latest version?
Thankjs
Hi
This is fixed using
https://devs.keenthemes.com/question/problem-with-dependence
when run npm dev --demo2
the following error comes and
getting browser msg "This site isn't working"
PHP Fatal error: Uncaught InvalidArgumentException: View [layout.demo1._content.