-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong bower path alias #14324
Comments
@konorlevich i think you need upgrade your |
define aliases in your config if in composer.json you use 'aliases' => [
'@bower' => '@vendor/bower-asset',
'@npm' => '@vendor/npm-asset',
], |
This string |
I had the same problem with In The section for the asset-plugin has been removed from the install guide in the master branch, and this causes confusion for new installs. This has been discussed at the related commit. |
Related fxpio/composer-asset-plugin#293 |
@konorlevich Have you installed application template as it is listed in the manual? |
Thanks for posting in our issue tracker.
Thanks! This is an automated comment, triggered by adding the label |
I had same problem, where i want overrides bower, npm, vendor alias. Thanks. |
Or maybe we can use oomphinc/composer-installers-extender globaly for replace fxp/composer-asset-plugin.
I solve my problem by doing this. |
@shirase, thank you, it works |
What steps will reproduce the problem?
Fresh-installed yii2 base app
What do you get instead?
Invalid Parameter – yii\base\InvalidParamException
The file or directory to be published does not exist: /home/travkin/my_hosts/united_ua/vendor/bower/jquery/dist
Way to resolve
/vendor/yiisoft/yii2/base/Application.php line 461
change to
Additional info
The text was updated successfully, but these errors were encountered: