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

Package details [solved] #268

Open
piermorosini opened this issue Oct 24, 2017 · 1 comment
Open

Package details [solved] #268

piermorosini opened this issue Oct 24, 2017 · 1 comment

Comments

@piermorosini
Copy link

piermorosini commented Oct 24, 2017

Hi,
I solved package details loading adding missing folder

/usr/lib/node_modules/private-bower/lib/temp/packageDetails/

Now my private-bower server is simply perfect!

Bye
Pierluigi

@piermorosini piermorosini changed the title Package details folder missing Package details folder missing solved Oct 24, 2017
@piermorosini
Copy link
Author

Hi
the trick is a little more bit complex.

These are the commands to add missing configuration folders:

  • sudo mkdir /usr/lib/node_modules/private-bower/lib/temp/
  • sudo chmod 755 /usr/lib/node_modules/private-bower/lib/temp/
  • sudo chown www-data:www-data /usr/lib/node_modules/private-bower/lib/temp/

Then I added a token to the git repository link in private-bower web interface.

Private-bower everytime I need details clones all repo in my temp folder.

I must remember to clean this temp folder because everytime private.bower makes a random named foder different from others...

Pay attention that git repo folder must contain the bower.json file.
Private-bower reads only bower.json file from cloned repo for details.

Bye

@piermorosini piermorosini changed the title Package details folder missing solved Package details [solved] Oct 26, 2017
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

1 participant