Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap.min.css net::ERR_FILE_NOT_FOUND #14

Closed
jtlindsey opened this issue Aug 12, 2016 · 0 comments
Closed

bootstrap.min.css net::ERR_FILE_NOT_FOUND #14

jtlindsey opened this issue Aug 12, 2016 · 0 comments

Comments

@jtlindsey
Copy link

Hello, great article here. I downloaded the project and line 5 ...bootstrap.min.css reference in app > index.html causes this error:

angular2-electron-master/node_modules/bootstrap/dist/css/bootstrap.min.css net::ERR_FILE_NOT_FOUND

Bootstraps not part of the package.json

{
  "name": "image-size-calculator",
  "version": "0.0.1",
  "description": "",
  "main": "index.js",
  "scripts": {
    "build": "webpack --progress --profile --colors --display-error-details --display-cached",
    "watch": "webpack --watch --progress --profile --colors --display-error-details --display-cached",
    "electron": "electron app"
  },
  "author": "Auth0",
  "license": "MIT",
  "devDependencies": {
    "electron-prebuilt": "^1.2.0",
    "es6-shim": "^0.34.0",
    "ts-loader": "^0.8.2",
    "typescript": "^1.8.10",
    "typings": "^0.8.1",
    "webpack": "^1.12.9",
    "webpack-dev-server": "^1.14.0"
  },
  "dependencies": {
    "@angular/common": "2.0.0-rc.1",
    "@angular/compiler": "2.0.0-rc.1",
    "@angular/core": "2.0.0-rc.1",
    "@angular/http": "2.0.0-rc.1",
    "@angular/platform-browser": "2.0.0-rc.1",
    "@angular/platform-browser-dynamic": "2.0.0-rc.1",
    "@angular/router": "2.0.0-rc.1",
    "es6-shim": "^0.35.0",
    "reflect-metadata": "0.1.3",
    "rxjs": "5.0.0-beta.6",
    "systemjs": "0.19.26",
    "zone.js": "^0.6.12"
  }
}

Is this line here by mistake?

Also this error:

Template parse warnings:
"#" inside of expressions is deprecated. Use "let" instead! ("
        </div>

        <div class="media" [ERROR ->]*ngFor="#image of images">
          <div class="media-left">
            <a href="#">
"): App@15:24

I think this lines need to be changed in app.ts

<div class="media" *ngFor="#image of images">
to:

<div class="media" *ngFor="let image of images">
@chenkie chenkie closed this as completed in 6ebf7df Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant