angular.min.js:118 SyntaxError: Illegal continue statement
I run an old application that was built in 2015. Now I'm using Node.js and running the server, everything is good apart from angularjs. Can Anybody tell me what the error is? As I didn't find any help on the internet.
The error is shown in Google Chrome.
SyntaxError: Illegal continue statement
at Object.instantiate (http://localhost:3000/lib/js/angular.min.js:42:56)
at http://localhost:3000/lib/js/angular.min.js:90:32
at Object.link (http://localhost:3000/lib/js/angular-route.min.js:7:274)
at http://localhost:3000/lib/js/angular.min.js:16:71
at la (http://localhost:3000/lib/js/angular.min.js:81:90)
at p (http://localhost:3000/lib/js/angular.min.js:66:341)
at g (http://localhost:3000/lib/js/angular.min.js:58:481)
at http://localhost:3000/lib/js/angular.min.js:58:119
at http://localhost:3000/lib/js/angular.min.js:63:39
at d (http://localhost:3000/lib/js/angular.min.js:59:474) <div ng-view="" class="ng-scope" data-ng-animate="1">
And Call stack is when I paused on exception in Google Chrome.
"Error: Failed to execute 'matches' on 'Element': ':visible' is not a valid selector.
↵ at Function.gb.matchesSelector (http://localhost:3000/lib/js/jquery-1.11.2.min.js:2:12236)↵ at Function.m.filter (http://localhost:3000/lib/js/jquery-1.11.2.min.js:2:23357)↵ at w (http://localhost:3000/lib/js/jquery-1.11.2.min.js:2:23168)↵ at m.fn.init.is (http://localhost:3000/lib/js/jquery-1.11.2.min.js:2:23894)↵ at e.(anonymous function).(anonymous function). (http://localhost:3000/lib/js/jquery-ui.min.js:9:18176)↵ at i (http://localhost:3000/lib/js/jquery-ui.min.js:6:12380)"
Package.JSON
{
"name": "hcphes_web_app",
"version": "2.2.1",
"description": "HCPHES Web App",
"main": "server.js",
"dependencies": {
"applicationinsights": "~0.15.2",
"async": "~0.9.0",
"azure-storage": "~0.4.5",
"body-parser": "~1.12.2",
"chart.js": "^2.3.0",
"express": "~4.12.3",
"mongodb": "2.2.27",
"nodemailer": "~0.7.1",
"sendgrid": "~1.6.1"
},
"devDependencies": {},
"scripts": {
"test": "echo "Error: no test specified" && exit 1",
"start": "node server.js"
},
链接地址: http://www.djcxy.com/p/77676.html
上一篇: 另一个注射器问题