@symnoob

Кто может помочь с webpack, ошибка со шрифтами?

Всем привет, как можно это излечить?
получаю ошбку при запуске webpack
npm run watch

ERROR  Failed to compile with 1 errors                                                                                                                                                                 8:11:25 PM

 error  in ./assets/paper-kit-2-pro/assets/scss/paper-kit.scss

Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleNotFoundError: Module not found: Error: Can't resolve './fonts/nucleo-icons.eot' in '/home/vagrant/projects/project.local/assets/paper-kit-2-pro/assets/scss'
    at factory.create (/home/vagrant/projects/project.local/node_modules/webpack/lib/Compilation.js:821:10)
    at factory (/home/vagrant/projects/project.local/node_modules/webpack/lib/NormalModuleFactory.js:397:22)
    at resolver (/home/vagrant/projects/project.local/node_modules/webpack/lib/NormalModuleFactory.js:130:21)
    at asyncLib.parallel (/home/vagrant/projects/project.local/node_modules/webpack/lib/NormalModuleFactory.js:224:22)
    at /home/vagrant/projects/project.local/node_modules/neo-async/async.js:2830:7
    at /home/vagrant/projects/project.local/node_modules/neo-async/async.js:6877:13
    at normalResolver.resolve (/home/vagrant/projects/project.local/node_modules/webpack/lib/NormalModuleFactory.js:214:25)
    at doResolve (/home/vagrant/projects/project.local/node_modules/enhanced-resolve/lib/Resolver.js:184:12)
    at hook.callAsync (/home/vagrant/projects/project.local/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn0 (eval at create (/home/vagrant/projects/project.local/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
    at resolver.doResolve (/home/vagrant/projects/project.local/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:37:5)
    at hook.callAsync (/home/vagrant/projects/project.local/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn0 (eval at create (/home/vagrant/projects/project.local/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
    at hook.callAsync (/home/vagrant/projects/project.local/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn0 (eval at create (/home/vagrant/projects/project.local/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:27:1)
    at resolver.doResolve (/home/vagrant/projects/project.local/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:42:38)
    at hook.callAsync (/home/vagrant/projects/project.local/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn42 (eval at create (/home/vagrant/projects/project.local/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:16:1)
    at hook.callAsync (/home/vagrant/projects/project.local/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn0 (eval at create (/home/vagrant/projects/project.local/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:27:1)
    at resolver.doResolve (/home/vagrant/projects/project.local/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:42:38)
    at hook.callAsync (/home/vagrant/projects/project.local/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn1 (eval at create (/home/vagrant/projects/project.local/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:16:1)
    at hook.callAsync (/home/vagrant/projects/project.local/node_modules/enhanced-resolve/lib/Resolver.js:238:5)
    at _fn0 (eval at create (/home/vagrant/projects/project.local/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:15:1)
    at fs.stat (/home/vagrant/projects/project.local/node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js:22:13)
    at process.nextTick (/home/vagrant/projects/project.local/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:73:15)
    at process._tickCallback (internal/process/next_tick.js:61:11)

заранее блогодарен...
  • Вопрос задан
  • 224 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы