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

Needed to copy bower_components to public/lib #35

Closed
DavidRagone opened this issue Aug 9, 2013 · 15 comments
Closed

Needed to copy bower_components to public/lib #35

DavidRagone opened this issue Aug 9, 2013 · 15 comments

Comments

@DavidRagone
Copy link

As referenced in issue #13, I was getting 404s on Angular, jQuery, Bootstrap.

I was able to fix this by copying the contents of the bower_components folder to public/lib folder.

Should bower.json have a "main" attribute of "public/lib" ? Not sure I fully understand bower, but presumably need to somehow point it to install in the right location. Or am I doing something else wrong?

@guanbo
Copy link

guanbo commented Aug 9, 2013

try this

$ sudo npm install -g bower
$ bower install

@DavidRagone
Copy link
Author

Yes that was the first thing I did. It appears to have installed components in the bower_components folder, though this was far from obvious to me at first, as the cli response was blank.

@DavidRagone
Copy link
Author

Just tried this again on different computer, with fresh install (never before installed) node, npm, etc. Same result - bower install did nothing at all.

@rschwabco
Copy link
Contributor

Make sure your .bowerrc file looks like this:

{
  "directory": "public/lib",
  "json": "bower.json"
}

@DavidRagone
Copy link
Author

Doh! I figured it out.

I moved the contents of the directory after unpacking it in my ~/Downloads folder. But I moved it via command line mv command (mv ~/Downloads/linnovate-mean-c7db3a2 ~/Projects/mean), which did not move the dotfiles (.gitignore and .bowerrc). My bad!

@tungnguyen92
Copy link

bad project !

@remicastaing
Copy link

Thanks for your comment @tungnguyen92 . That was a very constructive criticism! I'm sure the dev team will do better after that.

@DavidRagone
Copy link
Author

Aw, be nice to the inactive troll account! 😉

@aliceofwanders
Copy link

I don't know what I'm doing wrong, but I still get these 404s. The details of what I've done and the errors are on this stackoverflow question. Thanks for helping me out.

@bpawan
Copy link

bpawan commented Jan 2, 2014

I am also stuck by this problem now. By now I have tried installing and again uninstalling for atleast 5 times but all the time same error pops up. Even tried the @aliceofwanders 's solution but does not work. Any insights??

@liorkesos
Copy link
Member

Hi,
Can you give me a skype/IM id and we can debug this together?
Lior

On Thu, Jan 2, 2014 at 10:52 AM, bpawan notifications@github.com wrote:

I am also stuck by this problem now. By now I have tried installing and
again uninstalling for atleast 5 times but all the time same error pops up.
Even tried the @aliceofwanders https://github.com/aliceofwanders 's
solution but does not work. Any insights??


Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-31442115
.

Lior Kesos - http://www.linnovate.net
Linnovate - Community Infrastructure Care
mail: lior@linnovate.net
office: +972 722500881
cell: +972 524305252
skype: liorkesos

@bpawan
Copy link

bpawan commented Jan 2, 2014

Finally solved the problem. Actually the solution by @DavidRagone worked. But at-least to me it was not very easy to understand. So I will just add the fix that I applied which is of course the same putting all together; but just in case if anyone again gets to same trouble.

The error I was getting was like this:
screen shot 2014-01-02 at 10 18 11

Following is what I did to solve it:

  • Create ".bowerrc" file on the project folder and add the following code in it:
{
  "directory": "public/lib",
  "json": "bower.json"
}
  • Create a new folder "lib" inside "public" folder on the project folder and copy paste all the folders and files that are inside the "bower_components" into this newly created folder.

This worked for me.

Also I have another comment on this issue. May this information must be included in the docs. But also I think it would be nice if this steps are not needed to be carried.

Sorry if my response is stupid.

But I like this tool very much.

Cheers

👍

@liorkesos
Copy link
Member

הזמנה להשתתפות בועידת לינווייט לקוד פתוח 2014
Invitation to Linnovate 2014 Open Source Convention

View this email in your browser (http://us2.campaign-archive1.com/?u=39a7b8c51a1ceffe23c58d1e0&id=372e1407d9&e=1571a1e90a)

http://linnovate.us2.list-manage.com/track/click?u=39a7b8c51a1ceffe23c58d1e0&id=c0253934d6&e=1571a1e90a
== כעת במכירה מוקדמת בעלות מופחתת. להרשמה (http://linnovate.us2.list-manage.com/track/click?u=39a7b8c51a1ceffe23c58d1e0&id=9b186406c1&e=1571a1e90a) ==

ועידת לינווייט לקוד פתוח 2014 בנושא קוד פתוח בענן תיערך ביום רביעי, 30.4.14 בכפר המכביה ברמת גן. תכנית הועידה:

08:00
הרשמה וארוחת בוקר

09:30
חוויות מהמעבר לקוד פתוח

יותר ויותר מנהלים מבינים את שפע היתרונות שיש בעבודה עם קוד פתוח ובוחרים בו לתשתיות קריטיות.

מנהלים בכירים בארגונים ציבוריים מובילים ישתפו מנסיונם במעבר לטכנולוגיות פתוחות במקום שימוש בטכנולוגיות מסורתיות.
10:00
כלי שיתוף ציבור בארגוני אנטרפרייז וממשל
הקוד הפתוח כגישה טכנולוגית השפיע עם הזמן גם על גישות עסקיות ותרבותיות. חברות בעולם העסקי של היום נפתחות לקהל הרחב דרך ערוצים ציבוריים. שימוש בכלים וטכנולוגיות בענן מאפשר להגיע לקהל רחב בהוצאות נמוכות. בהרצאה תינתן הדגמה של שימוש בכלי קוד פתוח על גבי ענן על מנת להאיץ תהליכי פיתוח ולהוזילם.
10:30
הפסקה

11:00
פתרונות ללמידה מרוחקת
היתרונות של שימוש בפלטפורמת קוד פתוח בענן - בתחום של פתרונות ללמידה מרוחקת.

11:30
פתרונות אירוח ויתירות מבוססי קוד פתוח

ענקי האירוח גוגל ומיקרוסופט יציגו את פתרונות האירוח שלהם לקוד פתוח ויסבירו כיצד להגיע לתוצאות מהירות עם מאמץ מינימלי.

12:00
ארוחת צהריים

13:30
האם יש זכות קיום ל-ECM קנייני (Proprietary Enterprise CMS)?
במסגרת הפאנל נדון בשאלה: האם בעולם שבו שולטות מערכות ניהול תוכן בקוד פתוח, בעלות קהילות בנות עשרות אלפי מפתחים ומיליוני משתמשים - חברות שמפתחות מערכות ניהול תוכן לאנטפרייז עדיין יכולות להישאר רלוונטיות?

14:30
שיקולי אבטחת מידע בקוד פתוח
עבודה עם קוד פתוח מאפשרת להקים את המערכים המאובטחים ביותר, אולם ישנם מספר היבטים ייחודיים שרצוי להכיר כשבונים תשתיות על קוד פתוח. פאנל מומחים שיחלקו את הידע והנסיון שלהם עם המשתתפים.

15:30
הפסקה

16:00
האם שפת JavaScript הולכת להיות השפה הפופולרית ביותר בשוק ?
ההצלחה של HTML 5 והיכולות החדשות של JavaScript הביאו את היכולת לפתח "אפליקציות" בווב, כמו למשל פוטושופ, אפליקציות אלו נקראות single page application או בקיצור SPA. כיום JavaScript היא שפת הפיתוח לאינטרנט, בצד הלקוח, בצד השרת, על המכשירים הניידים, בכל מקום. הרצאה זו תסקור את השינויים ומה כל כך מיוחד בו. בנוסף ננסה להבין איך מצליחה השפה HTML 5 לפרוץ קדימה, ומה זה JavaScript שגרמו להשתלב גם בצד השרתים והחומרה.
מחיר כרטיס רגיל

299 ש״ח

עכשיו במכירה מוקדמת

199 ש״ח

למידע נוסף:
03-9605227
loscon-2014@linnovate.net

לחצו להרשמה (http://linnovate.us2.list-manage2.com/track/click?u=39a7b8c51a1ceffe23c58d1e0&id=eda8af0f14&e=1571a1e90a)

** (http://linnovate.us2.list-manage2.com/track/click?u=39a7b8c51a1ceffe23c58d1e0&id=b71e2457d1&e=1571a1e90a)
** (http://linnovate.us2.list-manage1.com/track/click?u=39a7b8c51a1ceffe23c58d1e0&id=e4183e31e4&e=1571a1e90a)
** Share (http://linnovate.us2.list-manage.com/track/click?u=39a7b8c51a1ceffe23c58d1e0&id=b1cdde7e51&e=1571a1e90a)
** (http://linnovate.us2.list-manage2.com/track/click?u=39a7b8c51a1ceffe23c58d1e0&id=6cdd20d12f&e=1571a1e90a http%3A%2F%2Feepurl.com%2FP0T_r)
** Tweet (http://linnovate.us2.list-manage1.com/track/click?u=39a7b8c51a1ceffe23c58d1e0&id=fc99a92700&e=1571a1e90a http%3A%2F%2Feepurl.com%2FP0T_r)
** (http://us2.forward-to-friend.com/forward?u=39a7b8c51a1ceffe23c58d1e0&id=372e1407d9&e=1571a1e90a)
** Forward to Friend (http://us2.forward-to-friend.com/forward?u=39a7b8c51a1ceffe23c58d1e0&id=372e1407d9&e=1571a1e90a)
Copyright © 2014 Linnovate Technologies Ltd., All rights reserved.
מוגש כשירות על-ידי לינווייט טכנולוגיות בע״מ.

Our mailing address is:
Linnovate Technologies Ltd.
Jabotinsky 168
Bnei Brak 00000
Israel
** unsubscribe from this list (http://linnovate.us2.list-manage.com/unsubscribe?u=39a7b8c51a1ceffe23c58d1e0&id=f9e90d4650&e=1571a1e90a&c=372e1407d9)
** update subscription preferences (http://linnovate.us2.list-manage2.com/profile?u=39a7b8c51a1ceffe23c58d1e0&id=f9e90d4650&e=1571a1e90a)
Email Marketing Powered by MailChimp
http://www.mailchimp.com/monkey-rewards/?utm_source=freemium_newsletter&utm_medium=email&utm_campaign=monkey_rewards&aid=39a7b8c51a1ceffe23c58d1e0&afl=1

@liorkesos
Copy link
Member

Use this area to offer a short preview of your email's content.

View this email in your browser (http://us2.campaign-archive1.com/?u=39a7b8c51a1ceffe23c58d1e0&id=98737c2492&e=1571a1e90a)

מה הקשר בין Microsoft וקוד פתוח?
JavaScript משתלטת על אפליקציות WEB
פיתרונות הענן החדשים של Google
חידושים באבטחת מידע בענן
קוד פתוח לאנטרפרייז מודרני

http://www.linnovate.net/open/cloud2014/content/%D7%A8%D7%99%D7%A9%D7%95%D7%9D-%D7%9C%D7%9B%D7%A0%D7%A1

נושאים אלו ועוד בועידה המרכזית בנושא קוד פתוח בענן ב 30.4 בכפר המכבייה ,בהשתתפות Microsoft ו- Google וחברות הטכנולוגיה המובילות בארץ

להרשמה במחיר מוזל עד ה 10.4 - לחץ כאן (http://www.linnovate.net/open/cloud2014/content/%D7%A8%D7%99%D7%A9%D7%95%D7%9D-%D7%9C%D7%9B%D7%A0%D7%A1)

לברורים ניתן ליצור קשר
באי מייל: sophie@linnovate.net
בטלפון: 03-9605227

** unsubscribe from this list (http://linnovate.us2.list-manage1.com/unsubscribe?u=39a7b8c51a1ceffe23c58d1e0&id=f9e90d4650&e=1571a1e90a&c=98737c2492)
** update subscription preferences (http://linnovate.us2.list-manage.com/profile?u=39a7b8c51a1ceffe23c58d1e0&id=f9e90d4650&e=1571a1e90a)

@dukshit24
Copy link

@liorkesos can you please help me resolving a issue ,
i declared , in app.js
//Lib Aggregated Files
var libDir = '../lib/';
SystemPackage.aggregateAsset('css', libDir + 'css/bootstrap.css');
SystemPackage.aggregateAsset('css', libDir + 'css/bootstrap.min.css');
SystemPackage.aggregateAsset('css', libDir + 'css/bootstrap-select.css');
SystemPackage.aggregateAsset('css', libDir + 'css/bootstrap-select.min.css');
SystemPackage.aggregateAsset('css', libDir + 'css/media.css');
SystemPackage.aggregateAsset('css', libDir + 'css/style.css');
but its not working.................................

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

9 participants