treehouse-projects / photoblog

Angular Basics sample app
2 stars 7 forks source link

platformBroswerDynamic Error on Compile #2

Closed markjmuellerjr closed 7 years ago

markjmuellerjr commented 7 years ago

When I run: npm run serve

I get the following error in my console and compiling fails:

ERROR in [at-loader] src/main.ts:3:10
  Module '"/Users/markmueller/Development/photo_blog/node_modules/@angular/platform-browser-dynamic/index"' has no exported member 'platormBrowserDynamic'.

I've updated my packages.json file, uninstalled the node_modules folder and tried npm install --update-binary & npm install --build-from-source with and without sudo.

chalkers commented 7 years ago

Hi there

I believe you misspelled platformBrowserDynamic - you missed the f in platform. :)

Hope that helps!

Regards,
Andrew