Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

unable to access the js files. like underscore.js not loading on browser... #1623

Closed
PManager1 opened this issue Nov 9, 2016 · 7 comments
Closed

Comments

@PManager1
Copy link

PManager1 commented Nov 9, 2016

image

image

image

image

@PManager1 PManager1 changed the title unable to access the js files. unable to access the js files. underscore.js not loading... Nov 9, 2016
@mleanos
Copy link
Member

mleanos commented Nov 9, 2016

@jpca999 I'm having a hard time following your issue. In the screen shot of the browser window, the error you're getting is a 404 for angular-moment. I see the folder in the other screen shot, but are you sure that angular-moment.min.js exists in that folder?

If you can't get your application to load underscore, please make sure you're including it in your angular application's module dependencies.

Otherwise, could you be more clear on what your issue is?

@mleanos mleanos self-assigned this Nov 9, 2016
@mleanos mleanos added this to the q milestone Nov 9, 2016
@PManager1
Copy link
Author

PManager1 commented Nov 9, 2016

@mleanos none of the additional js files that i add, doesn't load on the browser.

Here's the link to my repo: https://github.com/jpca999/properties-Docker/tree/2-master

@mleanos i've updated the screenshots, it should be more clear now.

@PManager1 PManager1 changed the title unable to access the js files. underscore.js not loading... unable to access the js files. like underscore.js not loading on browser... Nov 9, 2016
@mleanos
Copy link
Member

mleanos commented Nov 10, 2016

I tested with Underscore and didn't experience what you reported.

I still don't quite follow what the issue is. Like I said before, your screenshots are a little confusing since they don't match up with your description of the error.

underscore-browser-gh1623

underscore-default-assetts-gh1623

@PManager1
Copy link
Author

PManager1 commented Nov 10, 2016

wow - i dont understand how its not letting me see the js files.
btw did you use docker-compose up to serve ?

@mleanos ok - so i'll tell you the steps that i've been using..

  1. git clone [email protected]:meanjs/mean.git
  2. Then i add it in the config/assets/default.js file
  3. run docker-compose up
    But when i see it in the view source, I dont find the underscore file there....

IT DIDN't even show up in the chrome...

image

@PManager1
Copy link
Author

got it, fu@#in issue was with the trailing spaces.

@PManager1 PManager1 reopened this Nov 10, 2016
@mleanos
Copy link
Member

mleanos commented Nov 11, 2016

Why did you reopen this issue? It appeared yhat you resolved your problem.

@PManager1
Copy link
Author

@mleanos yes, sorry about that,, Can you please suggest a solution for this one ?#1626

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

No branches or pull requests

2 participants