Composer update error

Composer update error

Laraship QuestionsCategory: InstallationComposer update error
matt asked 3 months ago

I’m trying to inslatt Laraship but am falling at the first jump. When running ‘composer update’ I get the following error…


Invalid repository data in /var/www/vendor/composer/installed.json, packages could not be loaded: [SeldJsonLintParsingException] “/var/www/vendor/composer/installed.j

son” does not contain valid JSON

Parse error on line 1:


Expected one of: ‘STRING’, ‘NUMBER’, ‘NULL’, ‘TRUE’, ‘FALSE’, ‘{‘, ‘[‘

I’ve tried running ‘composer self-update’ but I still get the same issue.

1 Answers
laraship Staff answered 3 months ago


Unfortunately we havent seen this error before. however we suggest deleting vendor folder and composer.lock file and then run composer install again

matt replied 3 months ago

For future reference, this issue seems to happen when using NFS to mount a shared folder with Vagrant.

50% OFF

No Minimum, No Exceptions
Coupon Code
Offer Expires  May 27th