Code Monkey home page Code Monkey logo

Comments (4)

cburgdorf avatar cburgdorf commented on May 23, 2024

Hey Michal,

thanks you for testing these things out early on before the actual training. So the unmet peer dependencies shouldn't worry you. They are expected in this setup and will probably go away with future versions.

The missing types are unexpected though. You can probably live with it but it's ruining the debugging experience a bit.

Let's figure out what's wrong.

Can you let me know:

  • your environment
  • your version of node
  • your version of npm

Can you also give me the output of tsc --version as well as ./node_modules/typescript/bin/tsc --version from the app directory.

A quick google search also revealed this one: angular/angular-cli#1917

from angular-master-class-starter.

billdwhite avatar billdwhite commented on May 23, 2024

The "Cannot find" messages started popping up yesterday for me too. Has something to do with Angular-Cli and Typescript 2.0.2. Locking your project's typescript to 2.0.0 (by removing the ^ in package.json) fixes it, BUT, Angular RC6 just came out today and uses 2.0.2 so things might be at an impasse until that gets resolved.

from angular-master-class-starter.

cburgdorf avatar cburgdorf commented on May 23, 2024

Good point about the locking! We actually always used to lock the version for our training material and this time it slipped through. I just fixed that.

Regarding RC6, we are going to use RC5 for the training. We were holding back for RC6 but it came to late and by now there's not enough time left to make all the changes to our material. Also many attendees have probably cloned the starter already and we don't want people to clone again. It adds chaos and suddenly you end up with some people being on RC5 others on RC6 and so on :)

from angular-master-class-starter.

moravcik avatar moravcik commented on May 23, 2024

Hi Christoph, sorry for my late reply.

My environment is as follows:

  • Laptop Lenovo T540p with Ubuntu 16.04 LTS (upgraded from 14.04 LTS)
  • Node.js version 6.5.0 (I have tried also 6.4.0 and 6.3.1 with same results)
  • npm version 3.10.3
  • tsc --version gives message TS6029: Version 1.5.0-beta (sounds a bit weird)
  • ./node_modules/typescript/bin/tsc --version gives Version 2.0.0 (now, after fixing the version to 2.0.0)

Actually after fixing the version of typescript to 2.0.0 I am still getting unmet peer dependencies after npm install, but when I run ng serve I see no errors in terminal, just normal webpack output. And I see message from application "Angular 2 Master Class setup works!" in browser and no errors in console, which I believe is ok.

Btw, yes, it looked it was the issue you mentioned (angular/angular-cli#1917)

from angular-master-class-starter.

Related Issues (3)

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.