Coder Social home page Coder Social logo

Cannot load app about customermanager HOT 8 CLOSED

danwahlin avatar danwahlin commented on June 28, 2024
Cannot load app

from customermanager.

Comments (8)

DanWahlin avatar DanWahlin commented on June 28, 2024

Require doesn't load files using a .js extension so things are correct in main.js (kind of weird...but that's how they do it). Everything should work properly on Windows and Mac boxes. Are you running on Linux by chance? You shouldn't have to make any changes on Mac or Windows but it's possible some minor case changes may be required on a Linux box...not something I'm testing on at all.

The tweenMax.js file only affects animations and the case in index.html matches the file actually. For the data-main attribute going with upper-case Scripts would probably be required on a Linux box. I've run the project recently on Windows with no problems but will try it out again on my Mac when I get a chance. I don't plan to do any testing on Linux at this point though.

I'd go into the Chrome dev tools to see what errors may be appearing. That should hopefully give you a better idea if some files aren't loading properly.

from customermanager.

corporationsruleyourmom avatar corporationsruleyourmom commented on June 28, 2024

Thanks for the quick reply! I really appreciate that!
Yes, I am running this on a Linux box. It seems Windows isn't as picky with case sensitivity as Linux is. You haven't really tested it yet on Linux, so hopefully I can help you in that department. I'm working through the code trying to fix these minor issues now...
Could you point me to anywhere else in the code where this might be an issue? I've been using Google Chrome's Element Inspector to see potential issues and the people.png image isn't loading because of a similar issue Images should be images as the folder is called. But I cannot see where the <img tag is located in the code...
Thanks for the pointers and explanation of RequireJS! I definitely thought that was odd too.

EDIT:
Found it. The <img tag was also in index.html one more fixed!

from customermanager.

DanWahlin avatar DanWahlin commented on June 28, 2024

Awesome - let me know what you find and I'll get the source updated. Would love to have it running on Linux as well - just haven't taken the time to get a VM going for that.

from customermanager.

robertaramar avatar robertaramar commented on June 28, 2024

I just filed a pull request with the fixes to make it work on Linux. Feel free to take over.

from customermanager.

corporationsruleyourmom avatar corporationsruleyourmom commented on June 28, 2024

Nice work! Everything loads as expected! Can't seem to login... What are the default credentials?

from customermanager.

DanWahlin avatar DanWahlin commented on June 28, 2024

You can use any email address with a password that's at least 6 characters.

from customermanager.

corporationsruleyourmom avatar corporationsruleyourmom commented on June 28, 2024

And I'm in! Looks awesome! Now time to make an "Add Order" and make the cards filter the whole DB and not just what's on the page! Very nicely done!

from customermanager.

DanWahlin avatar DanWahlin commented on June 28, 2024

NIce - I'd love to have that kind of functionality added so if you get around to it let me know.

from customermanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.