I'm using a library management program called Composer on my device. I used it to install a library which it placed in a folder called vendor. My web application works fine locally. However, it gives me a bunch of php include errors even though I uploaded in the same folder hierarchy. I suspect this is because of the composer.json file which signals the required libraries, but I'm not entirely sure.
Any help would be highly appreciated.
This happened to me awhile ago, to fix this. Here is what i've done:
I removed my vendor folder on my working directory on the web host
thru ssh, i've installed composer, and then re-run composer install on my working directory.
after that everything worked
Related
I am behind a firewall on MS Windows and setting the proxy in my init file did not work. I can download the zip archive from GitHub, but when the package has many .el files the install-from-file does not work. I tried saving the folder as .tar but it still did not work.
How can I install the downloaded folder? There is a Makefile in the folder, but I have no make or its alternatives on Windows and will not be allowed to install them.
Prior to the migration to GitHub I was able to download a single file from Melpa and that worked fine.
a workaround is to add the package folder to your load-path and then require the package.
This will not take care of any dependencies, so watch in *Warnings* and *Messages* buffers for any problems caused by unmet dependencies.
See the details here.
I have a problem with adding an atmosphere package (std:accounts-ui) to my Meteor application.
Upon running this command:
> meteor add std:accounts-ui
It downloads successfully but gets stuck on Extracting std:accounts-ui#1.2.100...
Eg:
I have left it over night and it's still stuck.
This issue has been reported on GitHub and should hopefully be fixed in a future release.
The problem is that the unzip software doesn't get configured properly. This can be solved by uninstalling all unzip software and then running your Meteor application which will reinstall appropriate unzip software correctly configured.
Running a windows install I keep getting error listed below.
"The program can't start because libsybcs.dll is missing from your computer.
Try reinstalling the program to fix this problem."
Not sure what this means.
This isn't a Composer issue, but an PHP or server stack configuration issue.
You enabled the Sybase Extension in your php.ini: php_sybase_ct.dll.
This DLL requires another DLL to support Sybase, the libsybcs.dll.
But this file is missing on your system.
When you want to work with Sybase, install it correctly, then the DLL is present. Set the folder where the Sybase DLL resides to the ENV path or drop the DLLs into PHPs ext folder.
When you don't need Sybase, disable the PHP extension php_sybase_ct.
Then restart PHP and retry the Composer installation.
I downloaded from addons repository a Firefox extension (url shortener), unzipped it and reworked a little bit to use another shortener service - i changed already only a url of shortening service and some names in meta - nothing of vital importance. If i try just to zip all directories and files as they are and try to install - installation fails with an alert
"This addon can't be installed - it could be corrupted"
I guess there are any troubles with zipping of it. I'm even sure, that there is a zipping problem, cause i tried to unzip the original extension, than to zip it without code changes and to install - same error alert.
Also the question is, how to create an installable XPI for the bootstrapped extension (it is:
without .jar-file,
with another directory structure,
installation
withour restart).
The structure of bootstrapped extension (which i have here) is:
/defaults
/locale
/resources
harness-options.json
locales.json
bootstrap.js
install.rdf
options.xul
I use 7-zip, but it is no problem to use any another archiving software.
Thank you for any advice!
Evgeniy
Got it done! Like it describes this answer https://stackoverflow.com/a/18992738/1992004 i zipped a whole folder, what led in error cause of a folder creation inside of archive. After i zipped only included subfolders, i got an installable xpi.
I'm building a web app on Heroku which will allow users to select n number of SVG icons, and package those icons into a font file for them. The core of the app is a project called FontCustom. Using a Gemfile for my project I'm able to install the fontcustom gem, but I'm at a loss on how to install the required binary dependencies fontforge eot-utils ttfautohint indicated in the readme.
1) Is it possible to install these libraries on my Heroku instance?
2) If it is, how do I do it?
Thanks in advance for any assistance. Appreciated.
You can put your custom libraries in bin/ folder in your app, then include them in the environment variables PATH and LD_LIBRARY_PATH when your app start.
Or you can make your own Heroku build-pack. Here is an example of heroku-buildpack-fontforge.
You can see how it works in compile and release steps.