core icon indicating copy to clipboard operation
core copied to clipboard

Cloning and npm run karma fails

Open jjstreet opened this issue 8 years ago • 1 comments

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 avatar Dec 08 '16 21:12 jjstreet

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

jjstreet avatar Dec 08 '16 21:12 jjstreet