question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ember-octane compatibility

See original GitHub issue

I tried to play with ember-octane preview and I got into troubles with some internal dependencies of this project. I did not even finish the quickstart guide. Not sure whether this is octane or ember-cli-addon-docs issue.

The way to reproduce this:

git clone https://gitlab.com/michal.bryxi/ember-safe-button.git -b ember-app-scheduler-build-bug
cd ember-safe-button
yarn
ember s

Open: http://localhost:4200 and see that there is following error in the console:

loader.js:247 Uncaught (in promise) Error: Could not find module `ember-app-scheduler` imported from `ember-router-scroll/index`
    at missingModule (loader.js:247)
    at findModule (loader.js:258)
    at Module.findDeps (loader.js:168)
    at findModule (loader.js:262)
    at Module.findDeps (loader.js:168)
    at findModule (loader.js:262)
    at Module.findDeps (loader.js:168)
    at findModule (loader.js:262)
    at requireModule (loader.js:24)
    at Class._extractDefaultExport (index.js:413)
...

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
NullVoxPopulicommented, Feb 8, 2020

if anyone comes across this issue and has the motivation to fix octane support, the edition utils package have a way of detecting edition:

https://github.com/emberjs/ember-edition-utils#detecting-edition

const { has } = require('@ember/edition-utils');

if (has('octane', this.project.root)) {
  // do octane stuff
} else {
  // do classic mode stuff
}
1reaction
nadnoslencommented, Mar 23, 2019

Hey @MichalBryxi,

I have been running into another problem altogether (a computed property key must be a string ... undefined undefined) when I work through the Quick Start for an Octane addon.

I notice you haven’t really followed (and you say finished) the quick start though. Your application.hbs & index.hbs should be populated. I wonder if that is hindering you? I assume if you keep going until it tells you to start your server you’ll get a different error?

Anyway, I’m working on this myself right now and if I see anything helpful I’ll pass it on.

(and I can confirm what you’re seeing after cloning your repo)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Octane is Here - Ember Blog
The Ember Project Recommends Octane. As of Ember 3.15, the Ember project recommends Octane for new applications and addons. If you create a...
Read more >
Ember Octane: A Brief Reactivity Overview - DockYard
Ember.js has entered a new paradigm with Ember Octane, including the ... backwards compatibility with Ember's old reactivity system.
Read more >
Ember Octane Upgrade How to pass values from component ...
AFAIK, Octane is fully compatible with the classic Ember model/code. So, there should be not any issue with Octane upgrade.
Read more >
emberjs/ember-render-modifiers - GitHub
They are very useful for quickly bridging the gap between classic components and Glimmer components, but they are still generally an anti-pattern. We...
Read more >
`mut` (and `set`) and autotracking in Ember Octane
Yesterday, while I was double-checking some new Ember Octane code in the ... They have to for Ember's backwards compatibility story to hold: ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found