Comments (6)
I am seeing this too, but I don't know why its happening. This error has also been seen when using webpack http://stackoverflow.com/questions/32569473/baseexception-in-angular2with-es6-webpack. I will keep investigating.
from plugin-typescript.
Hi Frank,
Thanks for confirming the issue, good to know that it is not related to my
environment. I will play with it a bit too and if I find a solution I will
let you know.
My next idea is to exclude angular, zone and reflect from the bundle, load
them manually and then see what happens...
Greetings,
Eduardo
On Fri, Oct 30, 2015 at 8:43 AM, frankwallis [email protected]
wrote:
I am seeing this too, but I don't know why its happening. This error has
also been seen when using webpack
http://stackoverflow.com/questions/32569473/baseexception-in-angular2with-es6-webpack.
I will keep investigating.—
Reply to this email directly or view it on GitHub
#52 (comment)
.
from plugin-typescript.
Thanks Eduardo - FYI it has also been reported here, with full repro: angular/angular#4999
from plugin-typescript.
It looks like it is happening when trying to register/instantiate the 'LifeCycle' class. The constructor dependencies come through as an array with a single undefined item. When loading dynamically the dependency is populated with the 'ExceptionHandler' constructor.
I wonder if it is also related to this: https://github.com/angular/angular/blob/master/gulpfile.js#L953
from plugin-typescript.
I have just updated to [email protected] and [email protected] and it looks like it has been fixed.
from plugin-typescript.
The upgrade to alpha.45 also solved my problem. Thanks for the feedback and your great plugin.
from plugin-typescript.
Related Issues (20)
- 7.x branch not on npm? HOT 1
- Unexpected export encountered on abstract classes HOT 3
- defaulting to tsconfig: true HOT 6
- tslib_1.__metadata is not a function HOT 2
- Plugin-Typescript doesn't completely strip out Interface import/exports which breaks rollup. HOT 12
- no such file or directory: `plugin-typescript/lib.js` HOT 7
- exports is not defined HOT 3
- js error when loading - cannot read property 'length' of undefined HOT 6
- ENOENT: no such file or directory HOT 1
- Systemjs builder output not working as expected HOT 2
- No console output from Typescript compilation errors HOT 1
- Lookup error at node v8.1.2 npm 5.0.3 HOT 2
- Support for "module": "ESNext" HOT 1
- Not compatible with Typescript 2.6.x package HOT 1
- Getting "Cannot read property 'map' of undefined" HOT 1
- Is it possible to load global script? HOT 6
- tsconfig extends HOT 3
- Error: require is not defined HOT 8
- Does not work with typescript 2.9.1 and above HOT 1
- Getting errors during npm install
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugin-typescript.