Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer require error - no client/js directory #84

Open
jcop007 opened this issue Dec 15, 2017 · 1 comment
Open

Composer require error - no client/js directory #84

jcop007 opened this issue Dec 15, 2017 · 1 comment

Comments

@jcop007
Copy link
Collaborator

jcop007 commented Dec 15, 2017

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

@fonsekaean
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants