Skip to content
This repository was archived by the owner on Jun 9, 2020. It is now read-only.
This repository was archived by the owner on Jun 9, 2020. It is now read-only.

could not find module chai (new module unification) #37

@ghost

Description

I started migrating our app using https://github.com/rwjblue/ember-module-migrator/ and the https://github.com/emberjs/ember-module-unification-blueprint. The app builds successfully, but fails to load from the following error:
screen shot 2017-09-25 at 8 37 27 am
The import lines in that test file are:

import { expect } from 'chai';
import { describe, it, beforeEach } from 'mocha';
import Ember from 'ember';
import { initialize } from "web-server/src/init/initializers/application/initializer";
import destroyApp from 'web-server/tests/helpers/destroy-app';
import sinon from 'npm:sinon';
$ npm ls chai
└─┬ ember-cli-chai@0.4.2
  └── chai@3.5.0 

Our project's vendor.js does not appear to have chai loaded. This is a private repo but I am happy to test it / move this issue to a more relevant location.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions