angular.min.js:118语法错误:非法的继续语句
我运行了一个在2015年构建的旧应用程序。现在我使用Node.js并运行服务器,除了angularjs之外,一切都很好。 任何人都可以告诉我错误是什么? 因为我在互联网上找不到任何帮助。
该错误在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">
而且,我在Google Chrome中暂停了例外情况时调用堆栈。
“错误:无法在'元素'上执行'匹配':':visible'不是有效的选择器。
在函数.m.filter(http:// localhost:3000 /)上的Function.gb.matchesSelector(http:// localhost:3000 / lib / js / jquery-1.11.2.min.js:2:12236) lib / js / jquery-1.11.2.min.js:2:23357)在w(http:// localhost:3000 / lib / js / jquery-1.11.2.min.js:2:23168) 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/77675.html
上一篇: angular.min.js:118 SyntaxError: Illegal continue statement
下一篇: How to disable mouse scroll wheel scaling with Google Maps API