netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Czukowski (Jira)" <j...@apache.org>
Subject [jira] [Commented] (NETBEANS-3796) Prevents composer from working
Date Fri, 14 Feb 2020 08:41:00 GMT

    [ https://issues.apache.org/jira/browse/NETBEANS-3796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17036800#comment-17036800
] 

Czukowski commented on NETBEANS-3796:
-------------------------------------

Steps to reproduce:

* Clone https://github.com/magento/magento2/
* Checkout an old tag 2.0 (supports up to PHP 7.0, may need to install that as well in order
for Composer to install dependencies)
* Do {{composer install}} using the older PHP version (either modify PATH or use full paths
to php and composer.phar)
* Create a PHP project with existing source, wait until initialized
* Checkout version 2.4-develop (supports PHP 7.1 to 7.3)
* Keep NetBeans open
* Do {{composer install}} using supported PHP version
* If the issue starts occurring, interrupt composer, close NetBeans and make sure its process
is not still working in the background
* Repeat {{composer install}}, it should update the rest of the dependencies normally

I suspect it may be a Windows-only issue.

> Prevents composer from working
> ------------------------------
>
>                 Key: NETBEANS-3796
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-3796
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 11.2
>            Reporter: R
>            Priority: Major
>
> Now that I've upgraded from NetBeans 8.2 to 11.2, I'm no longer able to run `composer
update` or `composer require` (if NetBeans 11.2 is running); I get random errors like "Update
failed (Could not delete..."
> My guess is that NetBeans 11.2 must be interfering with files in my `/home/vagrant/Code/myproject/vendor/`
folder more than 8.2 did (even when there is no message about background scanning).
> Once I close NetBeans 11.2, composer works again.
> My computer is Windows 10, and I'm also running VirtualBox 6.1.2r135662 [Vagrant 2.2.7, laravel/homestead
(virtualbox, 9.2.0), Ubuntu 18.04.3 LTS].
> I use Git Bash on my Windows machine to ssh into Ubuntu using `vagrant ssh`, and there
I'm using Composer version 1.9.3.
> Everything had worked fine with NetBeans 8.2, but I needed to upgrade to 11.2 for PHP
7.4 support.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Mime
View raw message