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

Running fastboot with node-inspector doesn't seem to put fastboot into a running state. #272

Closed
kitsunde opened this issue Oct 2, 2016 · 2 comments

Comments

@kitsunde
Copy link
Contributor

kitsunde commented Oct 2, 2016

I figured out that node needs to be <= v6.3.1 because of node-inspector/node-inspector#905

I can run the node-inspector just fine:

node-inspector --no-preload

I can run fastboot according to the instructions just fine;

node_modules/.bin/ember build && node --debug-brk ./node_modules/.bin/ember fastboot --no-build

I can open the node inspector and I can resume execution. Then it starts loading all the sources and then nothing else happens. My app is stuck like this:

$ node_modules/.bin/ember build && node --debug-brk ./node_modules/.bin/ember fastboot --no-build
Built project successfully. Stored in "dist/".
Debugger listening on [::]:5858

Even if I make a completely new app:

mkdir embertest
cd embertest
ember init
ember install ember-cli-fastboot
node_modules/.bin/ember build && node --debug-brk ./node_modules/.bin/ember fastboot --no-build

This happens on both Ubuntu 14.04 and macOS Sierra.

@treywood
Copy link

treywood commented Oct 5, 2016

I have the same issue - the FastBoot server doesn't ever start with --no-build or --build=false. If I simply run:

ember fastboot --no-build

The version number prints, and then the process exits. I created #257 to address this issue - the server waits for a 'postBuild' event to start, and this event is never raised with --no-build

@kratiahuja
Copy link
Contributor

ember fastboot is now deprecated and ember serve now renders your app on server side with ember-cli 2.12.0+. Can you please try again with the instructions here: https://github.com/ember-fastboot/ember-cli-fastboot#developer-tools ? Please open an issue if you still see problems.

xg-wang pushed a commit to xg-wang/ember-cli-fastboot that referenced this issue Nov 16, 2020
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

3 participants