Code Monkey home page Code Monkey logo

Comments (4)

bsura avatar bsura commented on May 22, 2024

ArgusWeb is a static HTML5/Angular web resources project. Take a look at ArgusWeb Readme for information on how to get started with that. It essentially involves 4 steps: Install npm on your machine. Run npm install (this will internally call bower install for you which will download all dependencies for you). Install grunt. And use grunt replace (local/development/production) to tell ArgusWeb what endpoint to use.

from argus.

numbnut avatar numbnut commented on May 22, 2024

I did nearly the same. I installed node via nvm und than installed grunt globally. Afterwards I configured the application and launched it by invoking npm start. Npm start triggers a npm install and a bower install. When I access the Webpage on http://localhost:8080 I can see only the menu and a greeting which says "Welcome {{getRemoteUser()}}". Additionally the application gets a 404 Error on requesting selectize.js. The js console says:

Error: [$injector:modulerr] Failed to instantiate module argusMain due to:
[$injector:modulerr] Failed to instantiate module selectize due to:
[$injector:nomod] Module 'selectize' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.3.20/$injector/nomod?p0=selectize
minErr/<@http://localhost:8000/app/bower_components/angular/angular.js:63:12
module/<@http://localhost:8000/app/bower_components/angular/angular.js:1778:17
ensure@http://localhost:8000/app/bower_components/angular/angular.js:1702:38
module@http://localhost:8000/app/bower_components/angular/angular.js:1776:14
loadModules/<@http://localhost:8000/app/bower_components/angular/angular.js:4131:22
forEach@http://localhost:8000/app/bower_components/angular/angular.js:326:11
loadModules@http://localhost:8000/app/bower_components/angular/angular.js:4115:5
loadModules/<@http://localhost:8000/a

Why is this bower dependency missing? Do I have an issue with the project configuration or is there a Bug in the application?

from argus.

rajsarkapally avatar rajsarkapally commented on May 22, 2024

selectize path was changed. Can you please change the selectize path to bower_components/angular-selectize2/dist/angular-selectize.js in index.html file?

I will submit a pull request to correct this by eod.

from argus.

numbnut avatar numbnut commented on May 22, 2024

Hi, the bug is fixed and the front end works. Thank you very much! Besides that I have problems to get the configuration right, but I will try it again and create another issue if I don't get it right.

from argus.

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.