JonnyBGod / angular2-webpack-advance-starter

An advanced Angular2 Webpack Starter project with support for ngrx/store, ngrx/effects, ng2-translate, angulartics2, lodash, NativeScript (*native* mobile), Electron (Mac, Windows and Linux desktop) and more.
https://jonnybgod.github.io/angular2-webpack-advance-starter/
MIT License
48 stars 12 forks source link

Getting error when running project #9

Closed nigel-dewar closed 7 years ago

nigel-dewar commented 7 years ago

Note: for support questions, please use one of these channels: Chat: Gitter

I am windows 7 SP1 64bit. using npm@3.3.12 using node@v5.5.0

I ran npm install then npm run. project seems to run but then says

      [] -> factory:56ms building:3024ms = 3080ms
 [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 506 bytes {0} [built]
        [] -> factory:88ms building:70ms = 158ms
 [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 548 bytes {0} [built]
        [] -> factory:89ms building:95ms = 184ms

webpack: bundle is now VALID. [default] C:\test\angular2-webpack-advance-starter\src\app\frameworks\analytics\services\analytics.service.ts:6:24 Module '"C:/test/angular2-webpack-advance-starter/node_modules/angulartics2/index"' has no exported member 'Angulartics2Goo gleAnalytics'. [default] Checking finished with 1 errors, saying cannot find this module and that.

When I try to view app in browser using localhost:3000, app hangs on loading screen with HEAPS of errors in console.

I think some kind of error is preventing webpack from building all the stuff it needs.

do you have an idea about what might be causing this behaviour?

Cheers

nigel-dewar commented 7 years ago

Sorry I found that a manual install of analytics2 was required for some reason. I have fixed it. prob my fault for using a dam windows machine, I should be using a mac.

cheers

Nigel

JonnyBGod commented 7 years ago

Cool. I don't have a windows machine to test atm, please let me know if you find any problems running it on windows, I will try to help you out.