2

I am trying to build an Angular application and I am getting this error:

error TS2688: Cannot find type definition file for 'angular'

What am I missing?

5
  • Do you use the Angular-CLI? Commented Sep 27, 2017 at 16:54
  • 1
    Can you post your code? Commented Sep 27, 2017 at 16:55
  • @pzaenger No I am not. Commented Sep 27, 2017 at 16:56
  • @Catalyst This error comes from just trying to build. Commented Sep 27, 2017 at 16:57
  • 3
    It comes from trying to build something, so... what? Commented Sep 27, 2017 at 16:59

1 Answer 1

2

I figured out what the problem was. I did not have typings installed.

I ran this:

npm i -g typings

to install typings globally.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.