yeswework / fabrica-dev-kit

A toolkit for faster, smoother WordPress 5 development
https://fabri.ca/
MIT License
274 stars 27 forks source link

Question re ACF Pro after running setup? #25

Closed bongoman closed 7 years ago

bongoman commented 7 years ago

Hi there

I ran setup.yml without my ACF credentials — how best to add my key after setup and init ?

bongoman commented 7 years ago

I actually edited setup.yml then ran fdk setup --reinstall

and the command failed to complete:

/usr/local/lib/node_modules/fabrica-dev-kit/index.js:244 && rm /tmp/acf-pro.zip'].join(' ')).code; ^ TypeError: "&& wp plugin install /tmp/acf-pro.zip --activate" is not a function at Socket.install.stdout.on.on.on (/usr/local/lib/node_modules/fabrica-dev-kit/index.js:244:5) at emitNone (events.js:110:20) at Socket.emit (events.js:207:7) at endReadableNT (_stream_readable.js:1045:12) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9)

andrewstaffell commented 7 years ago

This option only exists as a timesaver to auto-install ACF Pro for you at setup, so you don't have to do it manually. But if you neglect to put in the key, no need to reinstall FDK. Just install ACF Pro and put in your license key in the normal way in Plugins > Add New.