Skip to content

404 when using import #155

@cAhmad

Description

@cAhmad

Hi, I'm trying to use karma-jspm, after your last release I do not have the too many open file so I can go on.

Now I'm facing a new issue, I read the #91, but that's not my case, my jspm.config.js has an empty baseURL

When I run my es5 tests it fails with:

ReferenceError: module is not defined

Which is fine since I didn't import it (my app is with AngularJS)

So when I try to:

import angular from 'angular';
import 'angular-mocks';

I get this error:

18 05 2016 11:46:32.089:WARN [web-server]: 404: /base/jspm_packages/npm/babel-core@5.8.34.js
Chrome 50.0.2661 (Linux 0.0.0) ERROR
  Error: XHR error (404 Not Found) loading /jspm_packages/npm/babel-core@5.8.34.js
        Error loading /jspm_packages/npm/babel-core@5.8.34.js
        Error loading /test/javascript/unit/i18n.spec.js

Does anyone have any tips or idea, what I'm missing here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions