timkelty / craftcms-site-sync

Sync content to locales on element save.
MIT License
40 stars 9 forks source link

Invalid path alias: @timkelty/craft/sitesync/resources/web #24

Closed engram-design closed 5 years ago

engram-design commented 5 years ago

As per https://github.com/timkelty/craftcms-site-sync/issues/21 this is still an issue.

Change in FieldAssets.php from: $this->sourcePath = "@timkelty/craft/sitesync/resources/web"; to $this->sourcePath = "@timkelty/craftcms/sitesync/resources/web";

timkelty commented 5 years ago

Thanks @engram-design.

I'll get back to this this week and make sure things are working with 3.2 as well.

timkelty commented 5 years ago

@engram-design wait a minute…that is fixed: https://github.com/timkelty/craftcms-site-sync/blob/1.0.3/src/FieldAssets.php#L11

Can you make sure you're on the latest 1.0.3?

engram-design commented 5 years ago

Whoops, you're right, because I forgot to update composer.json to:

"platform": {
    "php": "7.1"
 }

Sorry for the false alarm!