angular-courses's People
angular-courses's Issues
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 ??
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+
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.