Problem 1
- spatie/typescript-transformer[2.1.13, ..., 2.2.2] require nikic/php-parser ^4.13 -> found nikic/php-parser[v4.13.0, ..., v4.18.0] but the package is fixed to v5.0.0 (lock file version) by a partial update and that version does not match.
- spatie/laravel-typescript-transformer[2.3.0, ..., 2.3.2] require spatie/typescript-transformer ^2.1.13 -> satisfiable by spatie/typescript-transformer[2.1.13, ..., 2.2.2].
Temporary workaround is to first install an older php-parser version by adding this to your require section of composer.json:
"nikic/php-parser": "^4.1"
install command on a new Laravel project:
composer require spatie/laravel-typescript-transformer
Generates this issue:
Temporary workaround is to first install an older
php-parser
version by adding this to yourrequire
section ofcomposer.json
:"nikic/php-parser": "^4.1"