0
4

1 回答 1

2

It means it's trying to find tsconfig.e2e.json (the typescript config file for your 'e2e' project) and can't. This part of the config shows the path it's looking for:

beforeLaunch: function() {
    require('ts-node').register({
      project: 'e2e/tsconfig.e2e.json'
    });
  },

But it's clear from your directory structure that it isn't there. Given the path to your spec files, I would imagine the line should read:

project: './e2e/tsconfig.e2e.json'

Looking at your project structure though, it could well be:

project: './app/e2e/tsconfig.e2e.json'

In which case, the path to your spec files will probably need changing to match.

于 2017-07-10T23:51:29.213 回答