Loading...
 
Architecture / Installation

Architecture / Installation


Composer / could not be resolved to an installable set of packages / jquery

posts: 92

These are the steps I have taken so far to create a new 12.3 installation:

  1. Create new folder for source
  2. Move to new folder
  3. Get tiki source
    1. svn checkout https://svn.code.sf.net/p/tikiwiki/code/branches/12.x .
  4. Get composer
    1. curl -sS https://getcomposer.org/installer | php
    2. Set permissions
      1. find -type d -exec chmod 777 {} \;
      2. find -type f -exec chmod 644 {} \;
    3. php-cli temp/composer.phar self-update
    4. php-cli temp/composer.phar update

results of update
Loading composer repositories with package information
Updating dependencies (including require-dev)
~~#F00:Your requirements could not be resolved to an installable set of packages.~~

  Problem 1
    - The requested package jquery/jquery-s5 could not be found in any version, there may be a typo in the package name.
  Problem 2
    - The requested package jquery/jquery-sheet could not be found in any version, 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 minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.


What are jquery/jquery-s5 and jquery/jquery-sheet?
What are the consequences of not having these?
How to resolve?

Thanks,

Greg

posts: 126658 United Kingdom

Hi Greg,

Sadly it looks like the 12.x composer info has got out of date and the packages it needs have been removed form composer.tiki.org - i'll try and fix it, somehow...

jb

 


posts: 126658 United Kingdom

Seems to work ok for me here (after deleting those two packages and clearing my composer cache).

Maybe it's the command you're using? It should be:

php-cli temp/composer.phar install

 

(update is for when you've made changes to the composer.json file, where did oyu get those commands from? Maybe some docs need correcting)

You can also use sh setup.sh  to save having to remember ;)

HTH

jb

 

posts: 92

"where did oyu get those commands from"

Notes from an old IRC chat last time I did an tiki update

"You can also use sh setup.sh  to save having to remember"

That does not seem to work on my server.  If I try to run "sh setup.sh" I get errors telling me that I have to use php-cli.  Honestly, I'm not a linux user and I don't know what the -cli is.  I'm just trying to follow the instructions.  Is there a -cli version of the sh command?  Could I have typed "sh-cli setup.sh"?

Anyway, "php-cli temp/composer.phar install" seems to have worked.

One of my problems was not changing to the temp directory when I ran "curl -sS https://getcomposer.org/installer | php"


Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.