-
Notifications
You must be signed in to change notification settings - Fork 161
Typescript definition files errors #28
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
Comments
Make sure you follow the instructions on the README.md file. For start, it seems that you haven't downloaded the npm packages. |
Hi, I followed the instructions and installed everything. The npm packages are installed. If I check the node_modules folder has all the needed files I even managed to find the one which declares de MAP function missing on my errors but for some reason VS does not recognize them. I tried using your complete code and also by following the blog post and creating my own solution. The issue is the same. I am not sure what could be the problem. Any other ideas? Thanks |
Have you installed the latest TypeScript version for VS 2015? This might help you. |
Hi, I believe I have 2.0.10 installed. When I get home I'll double check and let you know. |
Hi, I do have the TS version 2.0.10 installed. After installing the Typescript for VS2015 your solution started working, the errors are gone. I then went to the project I was creating by following you blog post but unfortunately the errors persist on it. I've checked everything and it seems correct. So in order to double check I started a brand new project, followed your blog post up until the angular part where I only added the data.service.ts file to check if it would work. It didn't - same errors. I have added this new solution to github: If you could check and see if I am missing something it would be great. I am looking forward to start using your "template" on my new app and this TS thing is killing me! Thanks in advance! |
Any thoughts on what might be the issue? Thanks |
@hobojoe i installed a new machine with win10 and had many errors, including few map errors. I also installed these apps: |
Hi,
First of all I would like to thank you for the great tutorial on Angular2 SPA.
I've downloaded the complete solution but I can't seem to build it because I am facing TS definition files errors.
Property 'map' does not exist on type 'Observable<Response>'
It keeps complaining on the angular definition files as if they couldn't be found.
I have followed all the installation steps described on the blog, I have even reinstalled VS but still no luck.
Am I missing something?
I have Visual Studio 2015 Community.
I have also tried on VS Code, same problem.
Can anyone assist me? Thanks
The text was updated successfully, but these errors were encountered: