There was an error trying to run your application in FastBoot. (vanilla install)
See original GitHub issueThe following error pops up on a fresh install of ember + fastboot. I assume things aren’t supposed to explode when doing simple text changes while fastboot is running.
There was an error trying to run your application in FastBoot.
This is usually caused by either your application code or an addon trying to access an API that isn't available in Node.js.
Based on the stack trace, it looks like the exception was generated in node_modules/ember-cli-fastboot/node_modules/fastboot-express-middleware/node_modules/fastboot/src/ember-app.js on line 245.
The exception is probably coming from your app. Look at this file and line number to determine what is triggering the exception.
The full stack trace is:
Couldn't find /Users/bsilva/ember/fastsample/dist/package.json. You may need to update your version of ember-cli-fastboot.
Error: Couldn't find /Users/bsilva/ember/fastsample/dist/package.json. You may need to update your version of ember-cli-fastboot.
at EmberApp.readPackageJSON (/Users/bsilva/ember/fastsample/node_modules/ember-cli-fastboot/node_modules/fastboot-express-middleware/node_modules/fastboot/src/ember-app.js:245:13)
at new EmberApp (/Users/bsilva/ember/fastsample/node_modules/ember-cli-fastboot/node_modules/fastboot-express-middleware/node_modules/fastboot/src/ember-app.js:32:23)
at FastBoot._buildEmberApp (/Users/bsilva/ember/fastsample/node_modules/ember-cli-fastboot/node_modules/fastboot-express-middleware/node_modules/fastboot/src/index.js:102:17)
at new FastBoot (/Users/bsilva/ember/fastsample/node_modules/ember-cli-fastboot/node_modules/fastboot-express-middleware/node_modules/fastboot/src/index.js:47:10)
at fastbootExpressMiddleware (/Users/bsilva/ember/fastsample/node_modules/ember-cli-fastboot/node_modules/fastboot-express-middleware/index.js:24:16)
at /Users/bsilva/ember/fastsample/node_modules/ember-cli-fastboot/lib/tasks/fastboot-server.js:33:71
at tryCatch (/Users/bsilva/ember/fastsample/node_modules/ember-cli-fastboot/node_modules/rsvp/dist/lib/rsvp/-internal.js:215:12)
at invokeCallback (/Users/bsilva/ember/fastsample/node_modules/ember-cli-fastboot/node_modules/rsvp/dist/lib/rsvp/-internal.js:230:13)
at publish (/Users/bsilva/ember/fastsample/node_modules/ember-cli-fastboot/node_modules/rsvp/dist/lib/rsvp/-internal.js:198:7)
at flush (/Users/bsilva/ember/fastsample/node_modules/ember-cli-fastboot/node_modules/rsvp/dist/lib/rsvp/asap.js:85:5)
Dependencies
Reproduce
- ember new [projectname]
- ember install ember-cli-fastboot
- ember generate route index
- add a string above {{outlet}} in the generated index.hbs
- ember fastboot --serve-assets
- verify everything is work on localhost:3000. Should be good.
- add another part to the string and hit save.
- Explosions
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Stuck in fastboot mode | XDA Forums
It works fine in the beginning, but after the fastboot reboot fastboot step I start getting: FAILED: Flashing is not allowed for Critical ......
Read more >Fastboot and embroider build failures - Build Issues - Ember.JS
I've got a new Ember app (3.26) that was running nicely with Fastboot enabled. I just added Embroider and now I am getting...
Read more >What To Do if Your Amazon Fire tablet is Stuck in Fastboot Mode
There are two main reasons for an Amazon Fire tablet being stuck in Fastboot mode; either there's a software issue on a vanilla...
Read more >Fixing the Fastboot Error "No Such File or Directory" - YouTube
Join the Daily Android News Discussionshttps://www.youtube.com/channel/UCnowc_KHgjVNj3Y-E-oQ8aw/joinInstalling TWRP onto a smartphone or ...
Read more >Untitled
Simply run the following commands in a terminal window to install them from ... i tried unlocking by sending a command "fastboot oem...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Closing this.
ember s
should resolve the watch issue.@danmcclain
Vanilla install. Ember version: latest release Ember data version: latest release Fastboot: latest-release (.beta-13)
Node: v5.3.0, also tried on v4.6.2