Coder Social home page Coder Social logo

angular-courses's Introduction

angular-courses

This projects is used during the angular training session @ Nomade Advanced Technology

How to use this project

Fork it, Clone it and enjoy it!

git clone [email protected]:firehist/angular-courses.git
cd angular2-courses

Architecture

├── Ressources
│   ├── Challenges  // Solutions to TP
│   ├── CheatSheet
│   ├── Courses     // Slides
│   └── HowTo       // Little howTo
└── TypeScript

Bon courage !

angular-courses's People

Contributors

firehist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

angular-courses's Issues

Dépendances projet "04_Templates, Interpolation & Directives"

Hello,

J'ai essayé de tourner le projet "04_Templates, Interpolation & Directives" mais j'ai des erreurs de dépendances au moment de lancer l'application.

$ npm ls throws
[email protected] C:\tmp\angular2-courses\Ressources\OldCode\Challenges\directves
+-- UNMET PEER DEPENDENCY @angular/[email protected]
`-- UNMET PEER DEPENDENCY @angular/[email protected]

npm ERR! peer dep missing: @angular/compiler@~2.2.0, required by [email protected]
npm ERR! peer dep missing: @angular/core@~2.2.0, required by [email protected]

Parmis ces dépendance affichées là, il avait la version [email protected]. J'ai installé [email protected] cette version, et cela c'est bien passé. Par contre, codelyzer demande la version ~2.2.0 d'angular, mais j'ai la version 2.4.10.

$ ng --version
@angular/core: 2.4.10

J'ai essayé d'installer cette version par:
$ npm install [email protected]

mais seuls les versions 2.0.x.beta-x sont disponibles. Il aurait une autre commande pour l'installer, ou... comme faire pour que le npm install de cet application installe les dépendances exactes demandés sur le projet? ou plus simple, qu'est qu'il me faut pour tourner l'app?

Le log de debug est ci-joint. Le log de console de "npm start" démontre vraiment de problème de dépendance de version....

node_modules/@angular/core/src/facade/lang.d.ts(12,17): error TS2693: 'Map' only refers to a type, but is being used as a value here.
node_modules/@angular/core/src/facade/lang.d.ts(13,17): error TS2693: 'Set' only refers to a type, but is being used as a value here.
node_modules/@types/core-js/index.d.ts(39,27): error TS2304: Cannot find name 'IterableIterat or'.
...
...

2017-03-21T18_47_58_961Z-debug.zip

A+

missing import in app.component.ts ??

🐛 should we add in app.component.ts:

import { ProductModule } from './products/product.module';
import { ProductService } from './products/product.service';

is that correct ??

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.