ngrx / core

Core functionality for the ngrx platform
MIT License
72 stars 25 forks source link

Cloning and npm run karma fails #11

Open jjstreet opened 7 years ago

jjstreet commented 7 years ago

I'm trying to follow ngrx/core as a general guide for setting up a project for an angular2 library. After struggling with getting a simple test run to start, I cloned this repo and tried to run it's tests.

Tests fail to run with the following error from the console:

08 12 2016 16:42:35.115:ERROR [preprocess]: Can not load "webpack"!

<stack trace>

START:
Failed to parse file: ........\repositories\core\tests.bundle.ts
08 12 2016 16:42:35.163:ERROR [preprocessor.coverage]: Line 1: Unexpected token
  at ......\repositories/core/tests.bundle.ts
08 12 2016 16:42:35.172:INFO [karma]: Karma v1.3.0 server started at http://localhost:9018/
08 12 2016 16:42:35.173:INFO [launcher]: Launching browser Chrome with unlimited concurrency
08 12 2016 16:42:35.174:ERROR [karma]: Found 1 load error
jjstreet commented 7 years ago

here must be some kind of incompatibility with how the package.json is configured for versions.