composer-asset-plugin and components not detected correctly
8 posts
• Page 1 of 1
composer-asset-plugin and components not detected correctly
Hi,
I recently updated VS2017 to latest version (15.7.1) and noticed that with a new project there were missing dependencies detected which were actually not missing.
I suspected that it has to do with the VS version but actually is the PHPtools.
I had now tested with old versions I had still on my disk from previous installations and tried with 1.24.10015 which works OK.
Then I downloaded 1.26.10601 which breaks the correct support.
Version 1.27.10773 still broken.
Version 1.28.10839 still broken.
Now looking at the changelog I suspect this got broken in version 1.26.
Please check and fix as soon as possible.
Thank you!
I recently updated VS2017 to latest version (15.7.1) and noticed that with a new project there were missing dependencies detected which were actually not missing.
I suspected that it has to do with the VS version but actually is the PHPtools.
I had now tested with old versions I had still on my disk from previous installations and tried with 1.24.10015 which works OK.
Then I downloaded 1.26.10601 which breaks the correct support.
Version 1.27.10773 still broken.
Version 1.28.10839 still broken.
Now looking at the changelog I suspect this got broken in version 1.26.
Please check and fix as soon as possible.
Thank you!
- urosg
- Posts: 51
- Joined: February 24th, 2016, 2:05 am
Re: composer-asset-plugin and components not detected correc
I now also tested with 1.25.10474 version and in this version it works. So in 1.26 it breaks.
Please see http://support.devsense.com/viewtopic.php?f=21&t=1748&p=7896&hilit=composer+bower#p7896 where I already reported the same problem and you fixed it / this was in 1.19.8685 version.
Please see http://support.devsense.com/viewtopic.php?f=21&t=1748&p=7896&hilit=composer+bower#p7896 where I already reported the same problem and you fixed it / this was in 1.19.8685 version.
- urosg
- Posts: 51
- Joined: February 24th, 2016, 2:05 am
Re: composer-asset-plugin and components not detected correc
Hello!
Thanks for the feedback. Let me check this and get back to you asap.
Thanks!
Thanks for the feedback. Let me check this and get back to you asap.
Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: composer-asset-plugin and components not detected correc
Hello,
Could you please tell me how to reproduce it?
I've created project with yii2 framework and I can see all the composer packages:
Thanks!
Could you please tell me how to reproduce it?
I've created project with yii2 framework and I can see all the composer packages:
Thanks!
You do not have the required permissions to view the files attached to this post.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: composer-asset-plugin and components not detected correc
Create new project / directory:
use the composer.json:
in command line first run:
then run
then create new project from existing code and you have missing dependencies shown.
use the composer.json:
- Code: Select all
{
"name": "test-project",
"description": "TEST Project",
"license": "proprietary",
"require": {
"php": ">=5.4.0",
"yiisoft/yii2": ">=2.0",
"yiisoft/yii2-bootstrap": ">=2.0",
"yiisoft/yii2-swiftmailer": ">=2.0",
"yiisoft/yii2-jui": ">=2.0",
"fxp/composer-asset-plugin": "~1.0"
},
"suggest": {
"bower-asset/flexslider": "*"
},
"require-dev": {
"yiisoft/yii2-debug": "*",
"yiisoft/yii2-gii": "*",
"yiisoft/yii2-faker": "*"
},
"config": {
"fxp-asset": {
"installer-paths": {
"bower-asset-library": "vendor/bower",
"npm-asset-library": "vendor/npm"
}
}
}
}
in command line first run:
- Code: Select all
php composer.phar global require "fxp/composer-asset-plugin:*"
then run
- Code: Select all
php composer.phar update
then create new project from existing code and you have missing dependencies shown.
- urosg
- Posts: 51
- Joined: February 24th, 2016, 2:05 am
Re: composer-asset-plugin and components not detected correc
This goes for old projects, with "brand new" projects the composer has a new repository for bower/npm assets and with that this dependency problems don't exist.
- urosg
- Posts: 51
- Joined: February 24th, 2016, 2:05 am
Re: composer-asset-plugin and components not detected correc
Hi,
I see, thanks for the steps!
I will not be able to take a look at it this week, because of a business trip. But once I'm back I'm on it.
Thanks again!
I see, thanks for the steps!
I will not be able to take a look at it this week, because of a business trip. But once I'm back I'm on it.
Thanks again!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: composer-asset-plugin and components not detected correc
Hi,
did you perhaps get around to checking this issue?
Thanks!
did you perhaps get around to checking this issue?
Thanks!
- urosg
- Posts: 51
- Joined: February 24th, 2016, 2:05 am
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 39 guests