thekordy / ticketit

A simple helpdesk tickets system for Laravel 5.1+ which integrates smoothly with Laravel default users and auth system, demo is available at: http://ticketit.kordy.info/tickets
MIT License
875 stars 387 forks source link

Error when install package #567

Closed hdhamid1371 closed 4 years ago

hdhamid1371 commented 4 years ago

hi when i install package appear this error what's the problem?

issue

Installation failed, reverting ./composer.json to its original content.

[RuntimeException] Could not load package mews/purifier in http://repo.packagist.org: [UnexpectedValueException] Could not parse versi on constraint ~4.: Invalid version string "~4."

[UnexpectedValueException] Could not parse version constraint ~4.: Invalid version string "~4."

sencerturgut commented 4 years ago

same issue here

hdhamid1371 commented 4 years ago

i solve this issue you should install Dependents... **Dependents that are getting installed and configured automatically by Ticketit (no action required from you)

LaravelCollective HTML Laravel Datatables HTML Purifier

1- install laravel 2- run composer self-update && composer update 3- install Dependents then install the package composer require kordy/ticketit:0.*

thekordy commented 4 years ago

Related to mews/purifier, there's an active ticket for this issue. There's a solution is suggest on the ticket: composer self-update && composer update