When i execute any program in dart it show the below error
Failed to load resource: the server responded with a status of 404 (Not Found) http://mydomain.com/UrlPro/web/packages/chrome/bootstrap.js
html
<html>
<head>
<meta charset="utf-8">
<title>UrlPro</title>
<link rel="stylesheet" href="urlpro.css">
</head>
<body>
<h1>UrlPro</h1>
<p>Hello world from Dart!</p>
<script src="packages/browser/dart.js"></script>
<script src="packages/chrome/bootstrap.js" defer></script>
<script src="urlpro.dart" type="application/dart"></script>
</body>
</html>
pubspec.yaml
name: UrlPro
description: A sample Chrome packaged application
dependencies:
browser: any
transformers:
Dart version Dart Editor version 1.3.6.release (STABLE) Dart SDK version 1.3.6
pubspec.yaml
,index.html
, Dart version. – Günter Zöchbauer<script src="packages/chrome/bootstrap.js" defer></script>
? You don't have a packagechrome
in yourpubspec.yaml
dependencies list. Whey do you expect the packagechrome
to contain a filebootstrap.js
anyway. – Günter Zöchbauer