Composer update error

Laraship QuestionsCategory: InstallationComposer update error
matt asked 6 years ago
I'm trying to inslatt Laraship but am falling at the first jump. When running 'composer update' I get the following error... [ComposerRepositoryInvalidRepositoryException] 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 6 years ago

Hello,

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 6 years ago

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