silverstripe-linkable icon indicating copy to clipboard operation
silverstripe-linkable copied to clipboard

Composer require error - no client/js directory

Open jcop007 opened this issue 7 years ago • 1 comments

Hi I'm getting an error when running composer require "sheadawson/silverstripe-linkable": "dev-master". Error: [ErrorException] copy(C:\wamp64\www\ss4\vendor\sheadawson\silverstripe-linkable\client\js): failed to open stream: No such file or directory

When I look in the linkable directory there is no /client/js directory but in the composer.json for the linkable module it has: "expose": [ "client/js" ]

There is a js directory under /client/dist/js perhaps it should point there or else be removed? image

Thanks, JC

jcop007 avatar Dec 15 '17 01:12 jcop007

Hello @jcop007

From the first look of it, I think that is the expose needs to be changed on to client/dist. I will check it out and come back with more info.

Cheers

fonsekaean avatar Dec 15 '17 02:12 fonsekaean