F
Filamentβ€’6mo ago
DeveloperLV

Upgrade from v2 to v3 but running into a problem

I've followed the instruction guide how to upgrade from version 2 to 3. But I run into this issue (see screenshot attached). Any ideas how to fix his?
No description
Solution:
Summary: - Updated filament-access-control in composer.json to "chiiya/filament-access-control": "*", - Delete composer.lock file - Delete node_modules - Delete vendor...
Jump to solution
11 Replies
awcodes
awcodesβ€’6mo ago
You need to see if they have a v3 compatible version or not. If they do, just change the version number for the plugin in composer.json and run update again.
DeveloperLV
DeveloperLVβ€’6mo ago
Hi @awcodes, thanks for your answer - I'll have a look
DeveloperLV
DeveloperLVβ€’6mo ago
DeveloperLV
DeveloperLVβ€’6mo ago
I have then deleted composer.lock file and vendor folder.
DeveloperLV
DeveloperLVβ€’6mo ago
Once I deleted it, I ran composer install. This then resulted me into the following error
No description
awcodes
awcodesβ€’6mo ago
Seems like filament itself didn’t get upgraded.
DeveloperLV
DeveloperLVβ€’6mo ago
Yeah that's right, that is because I deleted my composer.json by accident and not the .lock file πŸ˜„ - and then I restored it, forgetting to update all the versions.. Just noticed the title of this thread is v4 and not v3 Upgrade from v2 to v4 but running into a problem I'm not sure I am able to alter this? Ok that has now worked. pheww
DeveloperLV
DeveloperLVβ€’6mo ago
No description
awcodes
awcodesβ€’6mo ago
πŸŽ‰
DeveloperLV
DeveloperLVβ€’6mo ago
πŸ™‚
Solution
DeveloperLV
DeveloperLVβ€’6mo ago
Summary: - Updated filament-access-control in composer.json to "chiiya/filament-access-control": "*", - Delete composer.lock file - Delete node_modules - Delete vendor - Run CMD as administrator - Run composer install
Want results from more Discord servers?
Add your server
More Posts