Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Server Error #9

Open
evandavey opened this issue Sep 12, 2017 · 3 comments
Open

Test Server Error #9

evandavey opened this issue Sep 12, 2017 · 3 comments

Comments

@evandavey
Copy link

When trying to run ember test --server I always get an error similar to below, and the build process never completes. Running test without the server flag works fine.

Error: ENOTDIR: not a directory, open '/myapp/tmp/broccoli_persistent_filterbabel__babel_ember_data-input_base_path-O69lbNX1.tmp/ember-data/serializers/json.js'
@danlynn
Copy link
Owner

danlynn commented Sep 13, 2017

That sort of looks like a project-specific issue. Can you replicate that on a fresh build of a new ember project (ember init)? I'm still without power due to the hurricane. So, if you find that it is something that applies generally to all projects using the image, let me know. Also, let me know if you find a solution. :-)

@evandavey
Copy link
Author

evandavey commented Sep 14, 2017

To add a bit more colour, I'm using Docker for Windows with a shared mount. If I locally install ember-cli (within Windows Ubuntu) and run ember test --server then this works - so it seems to be something to do with the mounted volume and/or docker image.

And I get the same error on a fresh build. Here's my docker-compose.yml file

version: "3"
services:
  app:
    image: danlynn/ember-cli:2.15.1
    volumes:
      - .:/myapp
    command: ['ember','server','--watcher','polling']

@danlynn
Copy link
Owner

danlynn commented Sep 14, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants