Comments (10)
tried using composer and got this message Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package jacwright/restserver could not be found in any versi
on, there may be a typo in the package name.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your min
imum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> f
or more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further commo
n problems.
Installation failed, reverting ./composer.json to its original content.
from restserver.
Tried to install using git and composer install and got the following error
Composer could not find a composer.json file in ...\vendor\ja
cwright\RestServer
To initialize a project, please create a composer.json file as described in the
https://getcomposer.org/ "Getting Started" section
from restserver.
Well, two things.
First of all, I made a mistake by using uppercase chracters.
Seconldy, @jacwright simple missed to put it on packagist.org.
@jacwright I can submit it to packagist if you want to (and allow me this to do). I will fix the uppercase issue in another pull request.
Kind regards
from restserver.
see pull request/41
from restserver.
@karneaud thanks for reporting this issue 👍
from restserver.
@stevleibelt please submit!
from restserver.
@karneaud an @jacwright
damn it, this situation really frustrates me. I've published this repository at packagist (and also fixed the broken links in pull request 42.
But whenever I call the url, I get back a 500. As you can see, I've published a lot of packages already - so I thought I know what I am doing.
@jacwright Is it possible you gain me write access to this repository? Then I can setup "auto updating" to this repository to packaigst.
I've wrote a mail to the packagist crew already with the question to gain me some log information for the 500 response code. Maybe they will answer me soon.
I'm off for a few days, so please be patient.
Kind Regards
stev
[edit]
FYI:
composer validate composer.json
composer.json is valid
See issue/514 for the 500 problem.
from restserver.
Not sure if this was by design but had to use
use \DeathMiner\RestServer\RestServer as Server;
could possibly shorten it further by removing the last
\RestServer
from restserver.
@karneaud as mentioned in issue 45, the "DeathMiner" namespace is not part of this project.
The use statement in your php file should look like the following line:
use \Jacwright\RestServer\RestServer
Indeed, we could shorten the name by removing the last "Rest" from the class name.
This would lead to incompatibility across all available and installed packages. I think this is not worth the affort.
Kind Regards
from restserver.
Odd...i guess i am using someone else's package
from restserver.
Related Issues (20)
- Explaining the $url == $this->url condition HOT 12
- Warning unlink (/jacwright/restserver/source/Jacwright/RestServer/RestServer.php (274) HOT 2
- Request JWT Auth Features HOT 2
- XML Does not encode if tag has spaces
- CORS: PATCH method is not allowed HOT 4
- Root dir has trailing slash if indexfile is in root
- Requests with '+' are converted to ' ', even when urlencoded as '%2b'
- is there some config to show some error ? HOT 1
- Multiple Access-Control-Allow-Origin Headers HOT 2
- "Syntax-Error" when useCors == false
- Extend the Class with another class HOT 3
- Required Once in outside REST Folder
- bug in handle method
- Example URL rewrite config for using it with IIS
- XML output includes an empty object for null/empty array for any option that ends with an 's'
- Regression: Apis without rootPaths do not work
- RestServer in sub directory doen't work HOT 3
- XML output contains an empty element when a numeric zero is passed.
- XML Output not valid if returned array is not encapsulated HOT 2
- Add documentation engine HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from restserver.