I am new to Ember and currently working on a doc-control web application. When running ember serve for a local copy I get the following console errors in Chrome (using Ember Debugger extension):
ember.debug.js:27808 Error while processing route: index Adapter operation failed Error: Adapter operation failed at new Error (native) at Error.EmberError (http://localhost:4200/assets/vendor.js:25605:21) at Error.ember$data$lib$adapters$errors$$AdapterError (http://localhost:4200/assets/vendor.js:64391:50) at ember$data$lib$system$adapter$$default.extend.handleResponse (http://localhost:4200/assets/vendor.js:66004:16) at hash.error (http://localhost:4200/assets/vendor.js:66084:33) at fire (http://localhost:4200/assets/vendor.js:3350:30) at Object.self.fireWith [as rejectWith] (http://localhost:4200/assets/vendor.js:3462:7) at done (http://localhost:4200/assets/vendor.js:9518:14) at XMLHttpRequest.callback (http://localhost:4200/assets/vendor.js:9920:8)
Also, my html code looks like this so far:
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>DocControlUi</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="assets/vendor.css">
<link rel="stylesheet" href="assets/doc-control-ui.css">
</head>
<body>
<script src="assets/vendor.js"></script>
<script src="assets/doc-control-ui.js"></script>
</body>
</html>
When doing research on this error I saw that many fixed this by adding http://ift.tt/1Ar4Xrj to their html but this just gave me more errors. I also tried running the local program in IE but I still got similar errors.
Where should I start with this?
Aucun commentaire:
Enregistrer un commentaire