I've downloaded (cloned) the github version of phpdocumentor 2 and followed the installation instructions found on the phpdoc website
At the composer installation step 3 (php composer.phar install) I receive the following error messages
[RuntimeException]
Failed to clone http://github.com/symfony/Console via git, https and http protocols, aborting.
- git://github.com/symfony/Console
fatal: reference is not a tree: 1edd7b739561e87bde81ff1c2ce08bd89e92277e
- https://github.com/symfony/Console
fatal: reference is not a tree: 1edd7b739561e87bde81ff1c2ce08bd89e92277e
- http://github.com/symfony/Console
fatal: reference is not a tree: 1edd7b739561e87bde81ff1c2ce08bd89e92277e
It seems that the symfony git tree has changed, or..? Do you have any idea how to resolve it?
This is probably an error int he update of the Console subtree split. Please use php composer.phar update instead of install. This should resolve the situation.
Related
I would like to enable client my to reconnect to my server in case the server restarts. I am trying thus the following piece of code. The thing is, after adding this line "rsocket-tcp-client": "^0.0.23" to my package.json and after running $npm install && ng update && ng serve I got the following error message :
Error: ./node_modules/rsocket-tcp-client/build/RSocketTcpClient.js
Module not found: Error: Can't resolve 'net' in '/Users/gitter/myproject/node_modules/rsocket-tcp-client/build'
Error: ./node_modules/rsocket-tcp-client/build/RSocketTcpClient.js
Module not found: Error: Can't resolve 'tls' in '/Users/gitter/myproject/node_modules/rsocket-tcp-client/build'
Any help please will be more than welcome.
You need to install tls and net packages as well if you are going to use that sample code.
Did anyone integrated HL Explorer V1.1.2 with HL Fabric 2.1. While I tried to setup the Explorer V1.1.2 with Fabric 2.1 it is giving the ENOENT error for some of the packages which I believe it should not be if we use the compatible node and npm versions. Below is the npm and node version we are using
/vagrant/blockchain-explorer$ node -v
v12.16.2
/vagrant/blockchain-explorer$ npm -v
6.14.4
We were following the Explorer setup based on the Readme doc from the below URL. Done the DB setup successfully but while running the ./make.sh install,it is providing ENOENT errors which we assume it shouldn't with the above compatible versions we are using. Do we need to check any other prerequisites other than the above. Please advise
https://github.com/hyperledger/blockchain-explorer
Code error:"ENOENT" says that there was no entry file/directory.
While configuring config.json with your network configuration, you might be missing or mis-configured some parameters.Make sure you have all key,certs and pem's routed correctly(path) in config.json.
I am going to develop a chat application with MongooseIM Server, but fail to install MongooseIM sever setup on my local pc, Can any one please help me to fix this error, Thanks in advance.
Following : http://mongooseim.readthedocs.io/en/1.5.1/user-guide/Getting-started/
error :
===> Failed to fetch and copy dep:{git,"git://github.com/goj/base16.git"{ref, "f78918e7b593fbdc35ec9bcc349aa50f47f45a8b
I see those dependences are expressed using the git:// protocol.
Try instead using the https one:
git config --global url."https://".insteadOf git://
And see if the same process still fails.
Make sure you are using a recent version of git (what git --version returns?)
I'm using composer in a ZF2 PHP project in Zend Studio 10.6. I recently tried to add a depency to the project, and I received an "internal error". Since then, whenever I try to use any function, I receive the same error:
Error msg
"An internal error occurred during: "Package Details".
For input string: "if (defined('COMPOSER_DEV_WARNING_TIME') && $commandName !== 'self-update' && $commandName !== 'selfupdate' && time() > COMPOSER_DEV_WARNING_TIME""
The search function when I try to add a depency also does no longer find any packages, even though I have a repository installed.
I'm very grateful for any suggestions!
I had the same problem. My solution was to use the composer via the commander.
Make sure you have installed the composer (check by writing "composer -V" in your commander to see your version), then just place your dependency in your composer.json file.
For example:
"require" : {
"php" : ">=5.3.3",
"zendframework/zendframework" : "=2.3.7",
Run the command: "composer update" in your project.
For me this worked.
You can use all composer functions in the commander.
You can find help here if you use Ubuntu: How to install and Use Composer on Ubuntu
I know this is old, but it's a simple fix. This error basically means that ZS/Eclipse cannot find the composer.phar file. Ensure it is referenced properly in your system path, or within the IDE and 'Update Dependencies' will work just fine.
I am trying to configure my Dreamhost VPS (running Debian and PHP5.3) to enable a PHP app to use an OAuth service provided by Autodesk, but the apps keeps failing because it can't find the OAuth class.
I installed the liboauth-php package using aptitude, and restarted the Apache server, but I get a "Fatal error: Class 'OAuth' not found" error.
I researched other pages here on stackoverflow that refer to installing OAuth, PECL and Pear and tried various suggestions I found in other threads, but they have each run into other problems.
I expect that I need to add the following declaration to the php.ini file so that the PHP parser can find the OAuth class, and then put the oauth.so file in the proper directory:
[PHP_OAUTH]
extension=oauth.so
Unfortunately I can't find a oauth.so shared object on the system.
So I thought maybe I could build one using PECL, since the aptitude install of liboauth-php package didn't fix this problem. Unfortunately PECL wasn't installed either. I tried "pear pickle" to install the PECL package but this too failed with this error:
PHP Warning: PHP Startup: Unable to load dynamic library '/imagick.so' - /imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
Unable to open package2.xml
When that failed, I tried upgrading pear but it also fails with the same error.
PHP Warning: PHP Startup: Unable to load dynamic library '/imagick.so' - /imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
Unable to open package2.xml
I tried using aptitude to install ndn-php53-imagick, php5-imagick and ndn-phpimagick but the last one failed:
Unpacking ndn-phpimagick (from .../ndn-phpimagick_3.0.1-0_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/ndn-phpimagick_3.0.1-0_amd64.deb (--unpack):
trying to overwrite '/etc/php53/conf.d/imagick.ini', which is also in package ndn-php53-imagick 3.0.1-6
configured to not write apport reports
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/ndn-phpimagick_3.0.1-0_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.
How can I get an oauth.so file or otherwise get the OAuth class recognized by the PHP parser?
The Debian package (as you noticed) does not include oauth.so (I'm not sure why, but it is Debian so could be anything), and I have been unable to find a package for it.
http://bquery.com/blog/post/php_oauth_extension_-_debian_squeeze_installation/
So far thats the only answer I have found. Note that the libpcre-dev might be libpcre3-dev (depends on Debian version), and you will need to install php-pear (php5-pear) to get the pecl command, and php5-dev for pecl to actually work (package dependency hell for just one shared lib).
imagick (ImageMagick) is (should be) unrelated to pear, oauth, pickle, and everything else. Its just an image processing package (resize/rotate/edit images).
After its all installed be sure the extension=oauth.so line is in your php.ini for the proper php (cli vs apache vs ...).