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

Symlink not being created, wildcard not working #74

Open
timersys opened this issue Apr 20, 2017 · 4 comments
Open

Symlink not being created, wildcard not working #74

timersys opened this issue Apr 20, 2017 · 4 comments

Comments

@timersys
Copy link

Issue 1: Wildcard load
I got two packages on ~/Packages so I tried the following:
studio load ~/Packages/* but I got the following error:

studio load ~/Packages/*                                                       
  [Symfony\Component\Console\Exception\RuntimeException]  
  Too many arguments.                                                                                            
load <path>

Issue 2: Symlink problem with package B
I got 1 project type wordpress-plugin that requires 2 libraries in composer.json .
so WP requires A and B

{
  "name" : "timersys/WP",
  "type" : "wordpress-plugin",
"require": {
        "timersys/A": "dev-master",
        "timersys/B": "dev-master"
    }
}

A library in composer.json also requires project B

{
  "name" : "timersys/A",
"require": {
        "timersys/B": "dev-master"
    }
}

Issue is that library B symlink is not being created and keep getting downloaded. I tried studio load also inside B but that makes not difference. Not sure what Im doing wrong but I can't make it work.

@timersys
Copy link
Author

I tried with studio version from #73 and it worked both libraries are symlinked now.
Problem A with wilcard persist

@emri99
Copy link

emri99 commented May 29, 2017

Hmm may I ask if you tried to put quotes around ? 😊

studio load "~/packages/*"

@ElfSundae
Copy link

Same here. macOS Sierra with Studio c1359ff installed.

@ElfSundae
Copy link

Fixed by adding all local packages as dev-master version to my app's composer.json file.

Before:

A -> app
B -> A

=> Now:

A:dev-master, B:dev-master -> app
B -> A

and

studio load "/data/projects/php-packages/*"

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

3 participants