Reflect.getMetadata is not a function
See original GitHub issueSo i have update to the latest RC7 of angular2 and now im getting this error :
Reflect.getMetadata is not a function
What can I do to fix this issue, I’m using the 0.1.2 version. (Also tried with the latest 0.1.8)
Thanks in advance!
Issue Analytics
- State:
- Created 7 years ago
- Comments:6
Top Results From Across the Web
TypeError: Reflect.getMetadata is not a function · Issue #52
It works only if I move the import 'reflect-metadata' to the actual class that is being serialized. Is that expected behavior?
Read more >TypeError: Reflect.getMetadata is not a function - Stack Overflow
My issue was I had import * as reflect from 'reflect-metadata'; . I needed just import 'reflect-metadata'; . – josephdpurcell. Jul 14 at...
Read more >Reflect.metadata is not a function - APM - Elastic Discuss
Hi Team,. I am Using angular 9 Version CLI and Angular Version 9 and when i try to implement the syntax as per...
Read more >Uncaught TypeError: Reflect.getMetadata is not a function
Hello there,. I am trying to deploy my app in the store but i am facing an error with this command: ionic cordova...
Read more >Reflect.getMetadata is not a function When using Node.JS ...
[Solved]-TypeError: Reflect.getMetadata is not a function When using Node.JS routing-controller-node.js · Related Query · More Query from same tag · Contact Us.
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 Free
Top 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
I ran into this problem inside a lib. I resolved it by following @bashleigh’s example and installing the types,
npm i --save @types/reflect-metadataBut also had to add an entry within tsconfig.lib.json:
I added the reflect-metadata types and that resolved my problem
yarn add --dev @types/reflect-metadata