我在我的角度應用程序中收到錯誤。在客戶端控制檯我得到:必須在web_accessible_resources清單鍵中列出資源
Denying load of chrome-extension://fiekimdgbphfmnlbiahcfdgcipcopmep/js/lib/angular/angular.min.js.map. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.
我認爲它是與我加載我的JavaScript的方式:
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Startup Jobs</title>
<!-- Mobile Meta -->
<meta name="apple-mobile-web-app-title" content="StartupJobs" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<!-- Typekit -->
<script type="text/javascript" src="//use.typekit.net/zjd5rqh.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<!-- CSS -->
<link href="/stylesheets/reset.css" rel="stylesheet">
<link href="/stylesheets/style.css" rel="stylesheet">
<!-- Google Maps -->
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true&libraries=places&language=en-US"></script>
<!-- Angular + jQuery -->
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/angularjs/1.1.5/angular.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.3/angular-sanitize.js"></script>
<!-- Angular Plugins -->
<script type="text/javascript" src="/javascripts/components/infinite-scroll/ng-infinite-scroll.min.js"></script>
<script type="text/javascript" src="/javascripts/components/moment/moment.min.js"></script>
<script type="text/javascript" src="/javascripts/components/angular-moment/angular-moment.min.js"></script>
</head>
我檢查,我所有的路線是正確的,該文件應正確加載。請注意,我沒有得到與Firefox的錯誤。 什麼可能出錯?
非常感謝
某事正試圖加載文件「angular.min.js.map 「,該文件對於查看頁面不是必需的,它僅適用於開發者進行取消註冊。據推測,你的一個chrome擴展名正在炸燬,因爲它拋出了一個無法訪問它的錯誤。 – sksallaj