I am applying the PWA Venia theme on local setup via xampp (windows10).

I have referred the following guidelines: https://magento-research.github.io/pwa-studio/venia-pwa-concept/setup/

Adding the Venia sample data modules to Magento is successful.But when I run the setup:upgrade command then following error occurs in the commandline

Module 'Magento_ConfigurableSampleDataVenia': in C:\xampp-7.2.19\htdocs\mage232\vendor\magento\module-configurable-sample-data-venia\Setup\Swatches.php on line 116

  • You have which version of Magento2 ? Aug 8, 2019 at 13:08

1 Answer 1


Set file system ownership and permissions again as a user with root privileges.

Don’t install sample data in production mode. Switch to developer mode and clear var(cached files) directories and try again.

Enter the following commands in the order shown as the Magento file system owner:

$cd <magento_root>
$bin/magento deploy:mode:set developer
$rm -rf generated/code/* generated/metadata/*
$bin/magento sampledata:deploy

For more details refer.Hope this helps you.

  • 3
    this is perfect answer even i have used this and solved my problem. Nov 19, 2019 at 9:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.