awcodes / filament-tiptap-editor

A Rich Text Editor plugin for Filament Forms.
MIT License
248 stars 64 forks source link

not installing on windows. #303

Closed debjit closed 6 months ago

debjit commented 6 months ago

Filament Version

v3.1

Plugin Version

v3.0

PHP Version

PHP 8.2

Problem description

I installed the package and got this error: Untitled


Warning: require(C:\projects\pathfinder\vendor\composer/../awcodes/filament-tiptap-editor/tests/helpers.php): Failed to open stream: No such file or directory in C:\projects\pathfinder\vendor\composer\autoload_real.php on line 55

Fatal error: Uncaught Error: Failed opening required 'C:\projects\pathfinder\vendor\composer/../awcodes/filament-tiptap-editor/tests/helpers.php' (include_path='.;C:/laragon/etc/php/pear') in C:\projects\pathfinder\vendor\composer\autoload_real.php:55 Stack trace: #0 
C:\projects\pathfinder\vendor\composer\autoload_real.php(38): composerRequireedefa7bacac116d0cd7af5649de92091('4d00ad875fa2196...', 'C:\\projects\\pat...') #1 C:\projects\pathfinder\vendor\autoload.php(12): ComposerAutoloaderInitedefa7bacac116d0cd7af5649de92091::getLoader() #2 C:\projects\pathfinder\public\index.php(34): require('C:\\projects\\pat...') #3 {main} thrown in C:\projects\pathfinder\vendor\composer\autoload_real.php on line 55

Expected behavior

Installed correctly

Steps to reproduce

Just install in windows in laragon system

Reproduction repository

No response

Relevant log output

asdfs
awcodes commented 6 months ago

You're on the wrong version of the plugin. For some reason on windows composer install ignores the ^ so it's trying to install v3.0 instead of the latest version. Add the ^ back to the value and run composer update instead.