Not a constructor
See original GitHub issueVersion 2.0.1 from npm.
import { VASTParser } from 'vast-client'
const vastParser = new VASTParser();
From VastParser documentation.
Thows an error
VastParser is not a constructor
Same with VastClient…
Can you please make sure that it works for you, from clean installation?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
TypeError: "x" is not a constructor - JavaScript - MDN Web Docs
The JavaScript exception "is not a constructor" occurs when there was an attempt to use an object or a variable as a constructor,...
Read more >Javascript "Not a Constructor" Exception while creating objects
The reason is that when it is attempting to initialize y, it creates a temporary "y" object (not class, object!) in the dependency...
Read more >Resolving TypeError: "X" is Not a Constructor in JavaScript
JavaScript "TypeError: "x" is not a constructor" errors occur when invalid objects or a variable is erroneously used as a constructor.
Read more >JavaScript TypeError - "X" is not a constructor - GeeksforGeeks
This JavaScript exception is not a constructor that occurs if code tries to use an object or a variable as a constructor, which...
Read more >Class is not a Constructor - Laracasts
Class is not a Constructor. Hey everybody,. I'm trying to dive into the great world of JS, ES6 and browserify and did follow...
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
Thanks for the repo, I’ll take a look into it as soon as possible.
@eliamaino-fp Glad, I could help! Thanks for quick issue fix!