rajentrivedi / tokenizer-x

OpenAI token calculator
MIT License
69 stars 5 forks source link

[Bug]: Can't install on Laravel 11 #29

Closed FernandoAcTr closed 3 months ago

FernandoAcTr commented 3 months ago

What happened?

Runing composer require rajentrivedi/tokenizer-x throws the next error:

- rajentrivedi/tokenizer-x[1.0.0, ..., 1.0.2] require illuminate/contracts ^10.0 -> found illuminate/contracts[v10.0.0, ..., v10.48.16] but these were not loaded, likely 
because it conflicts with another require.
    - Root composer.json requires rajentrivedi/tokenizer-x * -> satisfiable by rajentrivedi/tokenizer-x[1.0.0, 1.0.1, 1.0.2].

How to reproduce the bug

Run composer require rajentrivedi/tokenizer-x in Laravel 11 project

Package Version

1.0.2

PHP Version

8.2.0

Laravel Version

11.9

Which operating systems does with happen with?

Windows

Notes

No response

scotteuser commented 3 months ago

I think it just needs a release to packagist because dependencies on mainseem to work fine.

rajentrivedi commented 3 months ago

new release is created, its working fine.

@FernandoAcTr thank you for reporting & please try again and confirm, so I can close the issue

FernandoAcTr commented 3 months ago

@rajentrivedi Yes!, it's working now. Thanks.

rajentrivedi commented 3 months ago

closing this issue as its working.