ddon / SvelteWP-plugin

WordPress SvelteWP plugin for custom APIs
1 stars 1 forks source link

Tried to start up the plugin using local by flywheel. #1

Open ohbob opened 4 years ago

ohbob commented 4 years ago

( ! ) Warning: require_once(C:\Users\q\Local Sites\mu\app\public\wp-content\plugins\SvelteWP-plugin-master/vendor/autoload.php): failed to open stream: No such file or directory in C:\Users\q\Local Sites\mu\app\public\wp-content\plugins\SvelteWP-plugin-master\index.php on line 11

szepeviktor commented 4 years ago

@robertsozolins After getting the code from GitHub you need to execute composer install --no-dev as generated code (Composer autoloader) is not part of this repo.

szepeviktor commented 4 years ago

...and evidently you need a Pubnub accont: https://github.com/ddon/SvelteWP-plugin/blob/b2e40a33d41636e6f93960ced486695f8132cfbc/api/site.php#L104-L107