angular-umd-dynamic-example icon indicating copy to clipboard operation
angular-umd-dynamic-example copied to clipboard

Error types.d.ts TS1005 ';' expected - stuck at eval

Open peterennis opened this issue 6 years ago • 3 comments

Clone repo and build. It does not compile.

Capture665

Also sec errors.

Capture664

So I decided to test upgrading to A8.

Capture666

After a bunch of changes I get stuck with this:

Capture667

https://github.com/peterennis/angular-umd-dynamic-example/commit/b65929c76de0d7ae9a340a783ccb858e83087c0a

@lmeijdam

My foo power ran out at this point.

NOTE: From here: https://github.com/lmeijdam/angular-umd-dynamic-example

AOT and SystemJS The app now supports AOT compilation by typing;

ng build --aot

Next to that I've changed the use of eval to the use of SystemJS to load the modules.

The eval is where I am stuck.

Do you have any plan to update or create a new repo for A8?

peterennis avatar Aug 13 '19 04:08 peterennis

its been a while i've updated the source material and worked on the solution. the AOT does not work as planned, but when you set the buildoptimizer to false it should work

lmeijdam avatar Aug 13 '19 13:08 lmeijdam

regarding angular8, that might come in a later stage when i have more time to focus on the project

lmeijdam avatar Aug 13 '19 13:08 lmeijdam

I came a bit further but possibly messed it up by doing: eval(source.toString()) and replacing Http with HttpClient. Now it bundles, but the browser console says SystemJS were undefined.

ri0t avatar Sep 23 '19 13:09 ri0t