Closed mchavezi closed 8 years ago
Renaming hello.ts
to app.ts
solved the problem.
ya we used a lot of defaults for the sugar so
res.render('index', { App })
in es6 is really
res.render('index', { App: App })
which means your app sould be
res.render('index', { App: HelloApp })
Oh that makes perfect sense, especially with regards to what you said in the video.
Thanks for your response and all the hard work you've put into Universal:)
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
My app is a simple clone of Ng2Play and following along the video on the homepage of this repo, Full Stack Angular 2 - AngularConnect, Oct 2015
When running
ts-node server.ts
, I get this error:Here are my files:
and here is my
typings
folder treeIs this a bug or I am missing something?