Error opening application

1

Good afternoon,

I've cloned a repository using angularJS and node.js. I would like to run it, but clicking

  

"index.html"

The site appears incomplete.

In the terminal, inside the repository I put it to see if it was running

  

$ nodemon app.js directory

Being app.js a cloned repository file However it still does not run, the error appears:

[nodemon] 1.11.0
[nodemon] to restart at any time, enter 'rs'
[nodemon] watching: *.*
[nodemon] starting 'node app.js'
/home/junior/Documentos/GitLab/skipq-web/src/js/app.js:3
  var App = angular.module("App", [
            ^

ReferenceError: angular is not defined
    at /home/junior/Documentos/GitLab/skipq-web/src/js/app.js:3:13
    at Object.<anonymous> (/home/junior/Documentos/GitLab/skipq-web/src/js/app.js:241:2)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.runMain (module.js:605:10)
    at run (bootstrap_node.js:427:7)
    at startup (bootstrap_node.js:148:9)

Does anyone know what I should do to run?

My package.json :

{
  "name": "meuprojeto",
  "version": "1.0.0",
  "description": "",
  "main": "gulpfile.js",
  "dependencies": {
    "browser-sync": "^2.18.8",
    "del": "^2.2.2",
    "gulp": "^3.9.1",
    "gulp-concat": "^2.6.1",
    "gulp-inject": "^4.2.0",
    "gulp-order": "^1.1.1",
    "gulp-sass": "^3.1.0",
    "gulp-uglify": "^2.0.1",
    "gulp-watch": "^4.3.11",
    "main-bower-files": "^2.13.1",
    "run-sequence": "^1.2.2"
  },
  "devDependencies": {
    "gulp-main-bower-files": "^1.6.1",
    "gulp-ng-annotate": "^2.0.0"
  },
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/.../....git"
  },
  "author": "",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/.../.../issues"
  },
  "homepage": "https://github.com/.../...#readme"
}
    
asked by anonymous 06.06.2017 / 16:10

0 answers