Cannot find name 'Iterable' while using angular 4.
See original GitHub issue> npm run tsc
node_modules/@angular/core/src/change_detection/differs/iterable_differs.d.ts(15,48): error TS2304: Cannot find name 'Iterable'.
npm ERR! Darwin 16.4.0
npm ERR! argv "/Users/username/.nvm/versions/node/v7.7.3/bin/node" "/Users/username/.nvm/versions/node/v7.7.3/bin/npm" "install"
npm ERR! node v7.7.3
npm ERR! npm v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! myservice-api@0.1.0 prepublish: `tsc`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the myservice-api@0.1.0 prepublish script 'tsc'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the myservice-api package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! tsc
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugsmyservice-api
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls myservice-api
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/username/work-place/myservice-api/npm-debug.log
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Build:Cannot find name 'Iterable' after upgrading to Angular ...
'Iterable' is defined in the typings file for node. Installing file that solved the problem for me (node_modules/@types/node/index.d.ts).
Read more >Cannot find name 'Iterable'. · Issue #14595 · angular ...
I recently upgraded my angular 2 project to 4.0.0-beta.8. But when I try to compile, it throws below error: node_modules/@angular/core/src/ ...
Read more >error TS2304 Cannot find name 'IterableIterator' - YouTube
error TS2304 Cannot find name ' IterableIterator ' - Typescript error when converting ts to js. 2.2K views 2 years ago.
Read more >Build:Cannot find name 'Iterable' after upgrading to Angular ...
This is my solved configuration. It really helps to use npm install to upgrade from angular 2 to 5, rather than trying to...
Read more >Error TS2304: Cannot find name 'Iterable' - Questions
I installed TypeScript 2.3.2. I receive this message after gulp command: TypeScript error: node_modules/@types/three/three-core.d.ts(767,24): ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I got the same problem here.
Steps to reproduce:
The error
package.json
@mickael83 — Awesome, thank you for the confirmation! 👍