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

Fastboot server failing with Ember 2.9 #265

Closed
bcardarella opened this issue Sep 19, 2016 · 4 comments
Closed

Fastboot server failing with Ember 2.9 #265

bcardarella opened this issue Sep 19, 2016 · 4 comments

Comments

@bcardarella
Copy link
Contributor

I just tried to update dockyard.com to Ember 2.9. Fastboot's server is failing:

Installing FastBoot npm dependencies

Build successful - 14519ms.

Slowest Trees                                 | Total
----------------------------------------------+---------------------
Babel                                         | 3738ms
Babel                                         | 2054ms
Babel                                         | 1397ms
Babel                                         | 764ms

Slowest Trees (cumulative)                    | Total (avg)
----------------------------------------------+---------------------
Babel (66)                                    | 10319ms (156 ms)
TemplateCompiler (22)                         | 726ms (33 ms)

Error: ENOTEMPTY: directory not empty, rmdir '/Users/bcardarella/projects/dockyard.com/dist/node_modules/moment/src/'
    at Error (native)

App was working with 2.7 just fine. Only changes I made were to bump ember.js from 2.7 -> 2.9.0-beta.2 in bower and ember-data 2.7 -> 2.9.0-beta.1 in npm

I don't know why Fastboot's server would care that moment's src/ directory is not empty or why it would be attempting to run rmdir on it.

Also, a lack of proper stack trace here makes this difficult for me to diagnose. I'm not clear where I should begin.

@danmcclain
Copy link
Member

Did you upgrade ember-cli-fastboot? The more recent versions have introduced this issue, it's a race condition in the ember fastboot command and the fact that it watches now. This is the same issue as #246, which also was the reason 1.0 of FastBoot was pushed back. Closing as duplicate

@bcardarella
Copy link
Contributor Author

Yes, I am on 1.0.0-beta.9

@bcardarella
Copy link
Contributor Author

I also don't think the issues should be closed until it is confirmed as a duplicate

@danmcclain
Copy link
Member

This only effects the command, and is currently being worked on. This will not effect FastBoot-app-server or building the assets

xg-wang pushed a commit to xg-wang/ember-cli-fastboot that referenced this issue Nov 16, 2020
…/release-it-lerna-changelog-2.0.0

Update release-it-lerna-changelog to the latest version 🚀
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