You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.
I'm getting an error where TS is not recognizing the exported 'bootstrap' function from platform-browser-dynamic.
ERROR in [default] ../retain-app/src/main.ts:1:9
Module '"../retain-app/node_modules/@angular/platform-browser-dynamic/index"' has no exported member 'bootstrap'.
While watching the video 'Yo, World!' on AngularClass, I imported bootstrap in main.ts like so:
What @angular version are you using? I'm using the final 2.0.0 version and you're correct the bootstrap method is not supported anymore. Import platformBrowserDynamic instead, and do this:
I'm getting an error where TS is not recognizing the exported 'bootstrap' function from platform-browser-dynamic.
While watching the video 'Yo, World!' on AngularClass, I imported bootstrap in main.ts like so:
This is the dependency in the package.json:
Any help is appreciated!
The text was updated successfully, but these errors were encountered: