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

Issue with @ember-data/debug/setup.js #826

Closed
thoov opened this issue May 28, 2021 · 5 comments
Closed

Issue with @ember-data/debug/setup.js #826

thoov opened this issue May 28, 2021 · 5 comments

Comments

@thoov
Copy link
Collaborator

thoov commented May 28, 2021

Steps to reproduce:

  1. ember addon foobar --yarn (Use ember-cli 3.26+)
  2. ember install ember-data
  3. yarn add -D @embroider/core @embroider/compat @embroider/webpack webpack
  4. EMBROIDER_TEST_SETUP_FORCE=true EMBROIDER_TEST_SETUP_OPTIONS=safe ember s

Error:

setup.js:20 Uncaught TypeError: Cannot read property 'prototype' of undefined
    at eval (setup.js:20)
    at Object.../../node_modules/@ember-data/debug/setup.js (chunk.d5c0c63cbd51f4014925.js:149)
    at __webpack_require__ (chunk.72811919dc18453a17c5.js:31)
    at eval (ember-data-data-adapter.js:5)
    at Object../initializers/ember-data-data-adapter.js (chunk.68a92cf93b54bca7a7d2.js:149)
    at __webpack_require__ (chunk.72811919dc18453a17c5.js:31)
    at Module.eval [as callback] (dummy.js:22)
    at Module.exports (vendor.js:115)
    at requireModule (vendor.js:36)
    at resolveInitializer (index.js:10)

cc @ef4 / @rwjblue

@ef4

This comment has been minimized.

@thoov

This comment has been minimized.

@rwjblue
Copy link
Collaborator

rwjblue commented Jul 30, 2021

Fixed by #880

@rwjblue rwjblue closed this as completed Jul 30, 2021
@stefanpenner stefanpenner reopened this Aug 26, 2021
@stefanpenner
Copy link
Collaborator

stefanpenner commented Aug 26, 2021

This appears to be the same issue as #946 which is not resolved.

@stefanpenner
Copy link
Collaborator

Never mind, I was using an older version of embroider in my tests. As of embroider@0.43.3 the problem is resolved.

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

4 participants