M
M
Michael2019-08-27 22:55:22
Yii
Michael, 2019-08-27 22:55:22

How to fix "The file or directory to be published does not exist" error?

Hello everybody! Please tell me how to solve the error:

The file or directory to be published does not exist: J:\OSPanel\domains\yii2landing.loc\vendor/bower/jquery.kladr

I understand that the error says that such a directory or file was not found, but in fact I look in the vendor/bower-asset directory there is a jquery.kladr directory I encountered
5d6589b370303508238423.png
a similar problem when using the yii2-klard widget

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2019-08-27
@Bally

The error can be corrected in this way by writing in the config:

'aliases' => [
        '@bower' => '@vendor/bower-asset',
        '@npm' => '@vendor/npm-asset',
    ],

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question